update readme

This commit is contained in:
collin 2020-07-03 22:46:09 -07:00
parent 84f634559c
commit 2ff63c5fac

View File

@ -368,11 +368,16 @@ circuit Foo {
function bar() -> bool {
return self.b
}
function baz() -> bool {
return self.bar()
}
}
function main() -> bool {
let c = Foo { b: true };
return c.b
return c.baz()
}
```