mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-26 19:51:52 +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;
|
|
} |