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
this lead to an ICE related to tuples and SSA: If nodes have a fn type when a closure is returned, while monomorphization rewrites mean, the actual type should be a Tuple: happening when we call a closure preserved in a variable, resulting from such an if.
To Reproduce
No response
Installation Method
Compiled from source
Nargo Version
No response
Additional Context
No response
Would you like to submit a PR for this Issue?
Yes
Support Needs
No response
The text was updated successfully, but these errors were encountered:
Aim
To fix this and make it run without an error: an example by @jfecher in #1959 (comment)
Expected Behavior
pass without errors
Bug
this lead to an ICE related to tuples and SSA:
If
nodes have afn
type when a closure is returned, while monomorphization rewrites mean, the actual type should be a Tuple: happening when we call a closure preserved in a variable, resulting from such an if.To Reproduce
No response
Installation Method
Compiled from source
Nargo Version
No response
Additional Context
No response
Would you like to submit a PR for this Issue?
Yes
Support Needs
No response
The text was updated successfully, but these errors were encountered: