mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-18 15:31:32 +03:00
update readme
This commit is contained in:
parent
84f634559c
commit
2ff63c5fac
@ -368,11 +368,16 @@ circuit Foo {
|
|||||||
function bar() -> bool {
|
function bar() -> bool {
|
||||||
return self.b
|
return self.b
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function baz() -> bool {
|
||||||
|
return self.bar()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function main() -> bool {
|
function main() -> bool {
|
||||||
let c = Foo { b: true };
|
let c = Foo { b: true };
|
||||||
return c.b
|
|
||||||
|
return c.baz()
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user