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
global COUNT = 400;fnmain() -> pub BoundedVec<[Field;1],COUNT>{letmut result = BoundedVec::new();letmut x = 0;for _ in0..COUNT{if x < 1{
result.push([0]);}}
result
}
Expected Behavior
A "return value contains constant value warning"
Bug
Many repeated warnings are issued, presumably one for each element of the returned array.
To Reproduce
Project Impact
None
Impact Context
No response
Workaround
None
Workaround Description
No response
Additional Context
No response
Installation Method
None
Nargo Version
No response
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:
Aim
Expected Behavior
A "return value contains constant value warning"
Bug
Many repeated warnings are issued, presumably one for each element of the returned array.
To Reproduce
Project Impact
None
Impact Context
No response
Workaround
None
Workaround Description
No response
Additional Context
No response
Installation Method
None
Nargo Version
No response
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: