Idris2/tests/idris2/error013/expected

32 lines
661 B
Plaintext
Raw Normal View History

1/1: Building Issue361 (Issue361.idr)
Error: main is not total, possibly not terminating due to call to Main./=
Issue361:7:1--7:13
2021-02-11 20:24:26 +03:00
3 | data S = T | F
4 |
5 | Eq S where
6 |
7 | main : IO ()
2021-02-11 20:24:26 +03:00
^^^^^^^^^^^^
Error: /= is not total, possibly not terminating due to recursive path Main.main -> Main.Eq implementation at Issue361:5:1--5:11 -> Main.== -> Main./= -> Main.==
Issue361:5:1--5:11
2021-02-11 20:24:26 +03:00
1 | %default total
2 |
3 | data S = T | F
4 |
5 | Eq S where
2021-02-11 20:24:26 +03:00
^^^^^^^^^^
Error: == is not total, possibly not terminating due to call to Main./=
Issue361:5:1--5:11
2021-02-11 20:24:26 +03:00
1 | %default total
2 |
3 | data S = T | F
4 |
5 | Eq S where
2021-02-11 20:24:26 +03:00
^^^^^^^^^^