mirror of
https://github.com/CatalaLang/catala.git
synced 2024-09-20 08:47:14 +03:00
71bb67163c
Command used: `sed -i 's/\([-+*/><=]=\?\)[.$@^€$]/\1/g' **/*/*.catala_*` The overload test, of course, is kept unchanged and ensures that explicit operators still work.
39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
## Article
|
|
|
|
```catala
|
|
declaration scope A:
|
|
context list content collection integer
|
|
context list_high_count content integer
|
|
|
|
scope A:
|
|
definition list equals [0; 5; 6; 7; 1; 64; 12]
|
|
definition list_high_count equals number for m in list of (m >= $7)
|
|
```
|
|
|
|
```catala-test-inline
|
|
$ catala Interpret -s A
|
|
[ERROR] I don't know how to apply operator >= on types integer and
|
|
money
|
|
|
|
┌─⯈ tests/test_array/bad/fold_error.catala_en:10.63-65:
|
|
└──┐
|
|
10 │ definition list_high_count equals number for m in list of (m >= $7)
|
|
│ ‾‾
|
|
└─ Article
|
|
|
|
Type integer coming from expression:
|
|
┌─⯈ tests/test_array/bad/fold_error.catala_en:5.34-41:
|
|
└─┐
|
|
5 │ context list content collection integer
|
|
│ ‾‾‾‾‾‾‾
|
|
└─ Article
|
|
|
|
Type money coming from expression:
|
|
┌─⯈ tests/test_array/bad/fold_error.catala_en:10.66-68:
|
|
└──┐
|
|
10 │ definition list_high_count equals number for m in list of (m >= $7)
|
|
│ ‾‾
|
|
└─ Article
|
|
#return code 255#
|
|
```
|