leo/tests/compiler/circuits/self_member_undefined.leo

10 lines
145 B
Plaintext
Raw Normal View History

circuit Foo {
function bar() -> u32 {
return self.f;
}
}
2020-07-30 21:11:54 +03:00
function main() {
const foo = Foo { };
const err = foo.bar();
}