I understand that this use-case does not make a lot of sense, but I was trying to debug another compiler panic in my real codebase and while trying to get a minimal repro my initial error which was:
The application panicked (crashed).
Message: Non-numeric type variable used in expression expecting a value
Location: compiler/noirc_frontend/src/monomorphization/mod.rs:845
Suddenly became this
Workaround
None
Workaround Description
No response
Additional Context
No response
Installation Method
Binary (noirup default)
Nargo Version
noirc version = 0.26.0+c46b164ce56e6a8f81255fb17eb6539bd040f336
Aim
Compiler should not panic when I use zeroed to stub the return value of a function that returns void
Expected Behavior
Does not panic
Bug
Panics:
To Reproduce
Project Impact
Nice-to-have
Impact Context
I understand that this use-case does not make a lot of sense, but I was trying to debug another compiler panic in my real codebase and while trying to get a minimal repro my initial error which was:
Suddenly became this
Workaround
None
Workaround Description
No response
Additional Context
No response
Installation Method
Binary (
noirup
default)Nargo Version
noirc version = 0.26.0+c46b164ce56e6a8f81255fb17eb6539bd040f336
NoirJS Version
No response
Would you like to submit a PR for this Issue?
None
Support Needs
No response