mirror of
https://github.com/CatalaLang/catala.git
synced 2024-09-20 00:41:05 +03:00
32 lines
488 B
Plaintext
32 lines
488 B
Plaintext
## Test
|
|
|
|
```catala
|
|
declaration scope A:
|
|
output x content boolean
|
|
|
|
scope A:
|
|
definition x under condition
|
|
let y equals true in
|
|
y
|
|
consequence equals true
|
|
```
|
|
|
|
|
|
|
|
```catala-test-inline
|
|
$ catala Typecheck --check-invariants
|
|
┌─[RESULT]─
|
|
│ All invariant checks passed
|
|
└─
|
|
┌─[RESULT]─
|
|
│ Typechecking successful!
|
|
└─
|
|
```
|
|
|
|
```catala-test-inline
|
|
$ catala Proof --disable-counterexamples
|
|
┌─[RESULT]─
|
|
│ No errors found during the proof mode run.
|
|
└─
|
|
```
|