leo/compiler/tests/circuits/self_member_undefined.leo

10 lines
144 B
Plaintext

circuit Foo {
function bar() -> u32 {
return self.f
}
}
function main() {
const foo = Foo { };
const err = foo.bar();
}