mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-18 23:41:38 +03:00
9 lines
124 B
Plaintext
9 lines
124 B
Plaintext
// Circuits are immutable by default.
|
|
circuit Foo {
|
|
x: u32
|
|
}
|
|
|
|
function main() {
|
|
let a = Foo { x: 1 };
|
|
a.x = 0;
|
|
} |