This repository was archived by the owner on Jun 26, 2020. It is now read-only.
This repository was archived by the owner on Jun 26, 2020. It is now read-only.
Document entity types better #1038
Closed
Description
Consider a frontend that wants to emit a call
instruction. The documentation states that you need to pass
However, neither of the documentations for those types show how you can get an instance of them! For Value you can look around on the rest of the page for InstBuilder
and see that most instructions return a Value
, but for FuncRef
it's non-obvious that you need to either call import_function
or declare_func_in_func
. It would be great to link to these pages in the documentation for FuncRef
.
Similar problems exist for
Metadata
Metadata
Assignees
Labels
No labels