mirror of
https://github.com/CatalaLang/catala.git
synced 2024-11-08 07:51:43 +03:00
c864f658c8
Aerates the printing of messages, removes extraneous noise, and more clearly attaches the various information tied to a given message.
24 lines
453 B
Plaintext
24 lines
453 B
Plaintext
## Test
|
|
|
|
```catala
|
|
declaration structure Foo:
|
|
|
|
declaration scope Bar:
|
|
internal foo content Foo
|
|
```
|
|
|
|
```catala-test-inline
|
|
$ catala Typecheck
|
|
┌─[ERROR]─
|
|
│
|
|
│ The struct Foo does not have any fields;
|
|
│ give it some for Catala to be able to accept it.
|
|
│
|
|
├─➤ tests/struct/bad/empty_struct.catala_en:4.23-4.26:
|
|
│ │
|
|
│ 4 │ declaration structure Foo:
|
|
│ │ ‾‾‾
|
|
└─ Test
|
|
#return code 123#
|
|
```
|