leo/asg/tests/fail/circuits/self_member_undefined.leo
2021-01-25 07:19:38 -08:00

10 lines
140 B
Plaintext

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