You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Post #904, all type arguments/variables refer only to the nearest FuncDefn that contains them.
In the presence of FuncDefns which can take ExtensionSet arguments, we need to be smarter about traversing the hugr when running extension inference. For instance, an extension identifier meaning "de Bruijn index 0" has different meanings depending on the FuncDefn it is contained within.
Hence, we should run inference on each hierarchy level of the graph, feeding results forward as appropriate.
Update: MAYBE we need this for #919, but possibly we can just be smarter with generating constraints. We might need it for #640, though (or might not!).
The text was updated successfully, but these errors were encountered:
Post #904, all type arguments/variables refer only to the nearest FuncDefn that contains them.
In the presence of FuncDefns which can take ExtensionSet arguments, we need to be smarter about traversing the hugr when running extension inference. For instance, an extension identifier meaning "de Bruijn index 0" has different meanings depending on the
FuncDefn
it is contained within.Hence, we should run inference on each hierarchy level of the graph, feeding results forward as appropriate.
Update: MAYBE we need this for #919, but possibly we can just be smarter with generating constraints. We might need it for #640, though (or might not!).
The text was updated successfully, but these errors were encountered: