leo/tests/expectations/compiler/function/duplicate_definition_fail.out
2022-08-01 14:14:39 -07:00

6 lines
264 B
Plaintext

---
namespace: Compile
expectation: Fail
outputs:
- "Error [EAST0372008]: function `main` shadowed by\n --> compiler-test:8:1\n |\n 8 | function main(y: bool) -> bool {\n 9 | console.log(\"{}\", 2u8);\n 10 | return y; \n 11 | }\n | ^\n"