leo/tests/compiler/function/self.leo

14 lines
281 B
Plaintext
Raw Normal View History

2022-09-06 21:07:12 +03:00
/*
namespace: Compile
expectation: Pass
*/
2022-10-06 02:53:49 +03:00
program test.aleo {
transition matches(addr: address) -> bool {
async finalize(self.caller);
return self.caller == addr;
} finalize matches(addr: address) -> bool {
return addr == self.caller;
}
2022-09-06 21:07:12 +03:00
}