Idris2/tests/idris2/perror016/expected
2022-09-16 11:39:53 +01:00

29 lines
591 B
Plaintext

1/1: Building ParseIf (ParseIf.idr)
Error: Expected 'then'.
ParseIf:3:26--3:30
1 |
2 | test : Int -> Int
3 | test a = if a < 10 the 0 else a
^^^^
1/1: Building ParseIf2 (ParseIf2.idr)
Error: Expected 'then'.
ParseIf2:4:33--4:37
1 |
2 | test : Int -> Int
3 | test a = if a < 10
4 | then if a < 0 the 0 else 5
^^^^
1/1: Building ParseIf3 (ParseIf3.idr)
Error: Expected 'then'.
ParseIf3:3:26--3:30
1 |
2 | test : Int -> Int
3 | test a = (if a < 0 the 0 else 5)
^^^^