catala/tests/proof/good/let_in_condition.catala_en

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
488 B
Plaintext
Raw Normal View History

2023-03-28 06:49:14 +03:00
## Test
```catala
declaration scope A:
2023-06-03 19:02:57 +03:00
output x content boolean
2023-03-28 06:49:14 +03:00
scope A:
definition x under condition
let y equals true in
y
consequence equals true
```
2023-03-28 07:03:44 +03:00
```catala-test-inline
$ catala Typecheck --check-invariants
┌─[RESULT]─
│ All invariant checks passed
└─
┌─[RESULT]─
│ Typechecking successful!
└─
```
2023-03-28 07:03:44 +03:00
```catala-test-inline
$ catala Proof --disable-counterexamples
┌─[RESULT]─
│ No errors found during the proof mode run.
└─
2023-03-28 07:03:44 +03:00
```