mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-02 10:14:53 +03:00
4a0ee1d9d8
* implement initial block.height * commit.height parsing and code generation * patch self.caller tests * add error for self.caller in a finalize context * fix test
6 lines
265 B
Plaintext
6 lines
265 B
Plaintext
---
|
|
namespace: Compile
|
|
expectation: Fail
|
|
outputs:
|
|
- "Error [ETYC0372076]: `self.caller` is not a valid operand in a finalize context.\n --> compiler-test:7:30\n |\n 7 | assert_eq(addr, self.caller);\n | ^^^^^^\n"
|