leo/asg/tests/fail/circuits/self_member_undefined.leo

10 lines
145 B
Plaintext
Raw Normal View History

2021-01-25 18:17:42 +03:00
circuit Foo {
function bar() -> u32 {
return self.f;
2021-01-25 18:17:42 +03:00
}
}
function main() {
const foo = Foo { };
const err = foo.bar();
2021-01-25 18:17:42 +03:00
}