mirror of
https://github.com/CatalaLang/catala.git
synced 2024-09-20 00:41:05 +03:00
c864f658c8
Aerates the printing of messages, removes extraneous noise, and more clearly attaches the various information tied to a given message.
27 lines
564 B
Plaintext
27 lines
564 B
Plaintext
## Test
|
|
|
|
```catala
|
|
declaration scope A:
|
|
internal x content list of integer
|
|
output y content boolean
|
|
|
|
scope A:
|
|
definition x equals [0; 5]
|
|
definition y under condition (number of x) > 0 consequence equals true
|
|
```
|
|
|
|
```catala-test-inline
|
|
$ catala Proof --disable-counterexamples
|
|
┌─[WARNING]─
|
|
│
|
|
│ [A.y] This variable might return an empty error:
|
|
─➤ tests/proof/bad/array_length-empty.catala_en:6.10-6.11:
|
|
│
|
|
6 │ output y content boolean
|
|
│ ‾
|
|
Test
|
|
Counterexample generation is disabled so none was generated.
|
|
│
|
|
└─
|
|
```
|