mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-22 17:11:42 +03:00
10 lines
145 B
Plaintext
10 lines
145 B
Plaintext
circuit Foo {
|
|
function bar() -> u32 {
|
|
return self.f;
|
|
}
|
|
}
|
|
|
|
function main() {
|
|
const foo = Foo { };
|
|
const err = foo.bar();
|
|
} |