catala/tests/test_typing/bad/common.catala_en
Louis Gesbert 1b97f55c00 Add a few tests on typing errors
the `err6` test also highlights that Typecheck errors get overly delayed
2022-09-15 17:28:05 +02:00

17 lines
351 B
Plaintext

```catala-metadata
declaration enumeration Enum:
-- Int content integer
-- Dec content decimal
-- Dat content date
declaration structure Structure:
data i content integer
data e content Enum
declaration scope S:
input x content integer
input output y content Enum
output z content collection Structure
output a content decimal
```