leo/tests/pass/parse/circuits/self_member_undefined.leo

10 lines
140 B
Plaintext
Raw Normal View History

2021-03-03 20:59:24 +03:00
circuit Foo {
function bar() -> u32 {
return self.f
}
}
function main() {
let foo = Foo { };
let err = foo.bar();
}