diff --git a/README.md b/README.md index 5e9f3589af..56cbffc956 100644 --- a/README.md +++ b/README.md @@ -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() } ```