leo/tests/expectations/compiler/function/self_fail.out
Pranav Gaddamadugu e1a148a93e Regen expectations
2022-10-05 23:52:37 -07:00

6 lines
430 B
Plaintext

---
namespace: Compile
expectation: Fail
outputs:
- "Error [ETYC0372043]: The allowed accesses to `self` are `self.caller`.\n --> compiler-test:5:21\n |\n 5 | return self.foo == addr;\n | ^^^\nError [ETYC0372003]: Expected type `address` but type `no type` was found\n --> compiler-test:5:16\n |\n 5 | return self.foo == addr;\n | ^^^^^^^^^^^^^^^^\n"