Usage of Trait::method
syntax on globals results in monomorphisation ICE.
#5029
Labels
bug
Something isn't working
Aim
I wanted to have a structure with multiple trait From implementations and use
From::from(...)
syntax to create a global variable.Expected Behavior
This code compiles:
Bug
The code above causes compilation panic. I also can't use
Struct::from(...)
syntax because it causes compiler error: 'Could not resolve 'from' in path'.To Reproduce
Project Impact
Nice-to-have
Impact Context
No response
Workaround
None
Workaround Description
No response
Additional Context
No response
Installation Method
Binary (
noirup
default)Nargo Version
nargo version = 0.29.0 noirc version = 0.29.0+2da28997dbedce4a00d2162eddb57564bdb23546
NoirJS Version
No response
Would you like to submit a PR for this Issue?
None
Support Needs
No response
The text was updated successfully, but these errors were encountered: