leo/compiler/tests/circuits/mut_variable_fail.leo

9 lines
93 B
Plaintext

circuit Foo {
a: u8,
}
function main() {
const f = Foo { a: 0u8 };
f.a = 1u8;
}