Idris2/tests/idris2/error013/expected
Edwin Brady 68f6f4dbd5 Cache intermediate results in totality checking
This saves a lot of unnecessary exploring of size change graphs, which
can get over the top quite quickly if there's complex mutual
definitions, or even just a single function with an interesting variety
of recursive calls.

Fixes #1365
Fixes #1277
Fixes #645
2021-05-26 15:48:09 +01:00

32 lines
677 B
Plaintext

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