mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-29 21:22:55 +03:00
6 lines
397 B
Plaintext
6 lines
397 B
Plaintext
---
|
|
namespace: Compile
|
|
expectation: Fail
|
|
outputs:
|
|
- "Error [ETYC0372017]: The type `Foo` is not found in the current scope.\n --> compiler-test:5:9\n |\n 5 | const a: Foo = Foo { };\n | ^^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372005]: Unknown struct `Foo`\n --> compiler-test:5:24\n |\n 5 | const a: Foo = Foo { };\n | ^^^\n"
|