catala/tests/proof/bad/enums_inj-overlap.catala_en

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

29 lines
702 B
Plaintext
Raw Normal View History

## Article
```catala
declaration enumeration E:
-- C1
-- C2
declaration scope A:
2023-06-03 19:02:57 +03:00
internal x content E
output y content integer
scope A:
definition x equals C1
definition y under condition x = C1 consequence equals 1
definition y under condition x = C2 consequence equals 2
definition y under condition x = C2 consequence equals 3
```
```catala-test-inline
$ catala Proof --disable-counterexamples
[WARNING] [A.y] At least two exceptions overlap for this variable:
┌─⯈ tests/proof/bad/enums_inj-overlap.catala_en:10.10-10.11:
└──┐
2023-06-03 19:02:57 +03:00
10 │ output y content integer
│ ‾
└─ Article
Counterexample generation is disabled so none was generated.
```