Aim
fn main(mut x: Field, y: u32) {
x = y;
}
Expected Behavior
error: Cannot assign an expression of type u32 to a value of type Field
┌─ /.../short/src/main.nr:35:9
│
35 │ x = y;
│ -
│
Bug
error: Cannot assign an expression of type Field to a value of type u32
┌─ /.../short/src/main.nr:35:9
│
35 │ x = y;
│ -
│
To Reproduce
Installation Method
None
Nargo Version
No response
Additional Context
No response
Would you like to submit a PR for this Issue?
No
Support Needs
No response