Idris2/tests/idris2/total011/expected

84 lines
2.4 KiB
Plaintext
Raw Normal View History

1/1: Building Issue1782 (Issue1782.idr)
Error: hack is not total, possibly not terminating due to recursive path Main.hack -> Main.hack
Issue1782:8:1--9:27
8 | total
9 | hack : Nat -> (Void, Void)
1/1: Building Issue1460 (Issue1460.idr)
Error: nonproductive is not total, possibly not terminating due to recursive path Main.nonproductive -> Main.nonproductive -> Main.nonproductive
Issue1460:3:1--3:43
1 | %default total
2 |
3 | nonproductive : Stream a -> (Stream a, ())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2021-08-27 18:18:24 +03:00
1/1: Building Issue1859 (Issue1859.idr)
Error: fix is not total, possibly not terminating due to recursive path Main.fix -> Main.fix
Issue1859:3:1--3:11
1 | %default total
2 |
3 | fix : Void
^^^^^^^^^^
1/1: Building Issue1859-2 (Issue1859-2.idr)
Error: iamvoid is not total, possibly not terminating due to recursive path Main.iamvoid -> Main.tailRecId -> Main.tailRecId
Issue1859-2:8:1--8:15
4 | tailRecId f a = case f a of
5 | Left a2 => tailRecId f a2
6 | Right b => b
7 |
8 | iamvoid : Void
^^^^^^^^^^^^^^
Error: tailRecId is not total, possibly not terminating due to recursive path Main.iamvoid -> Main.tailRecId -> Main.tailRecId
Issue1859-2:3:1--3:40
1 | %default total
2 |
3 | tailRecId : (a -> Either a b) -> a -> b
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2021-09-01 13:32:51 +03:00
1/1: Building Issue1828 (Issue1828.idr)
Error: caseTest is not total, possibly not terminating due to recursive path Main.caseTest -> Main.dummy -> Main.caseTest
Issue1828:4:3--4:25
1 | %default total
2 |
3 | mutual
4 | caseTest : Nat -> Bool
^^^^^^^^^^^^^^^^^^^^^^
Error: dummy is not total, possibly not terminating due to recursive path Main.caseTest -> Main.dummy -> Main.caseTest
Issue1828:8:3--8:14
4 | caseTest : Nat -> Bool
5 | caseTest p with (dummy)
6 | caseTest p | _ = True
7 |
8 | dummy : Nat
^^^^^^^^^^^
Error: caseTest is not total, possibly not terminating due to recursive path Main.caseTest -> Main.dummy -> Main.caseTest
Issue1828:4:3--4:25
1 | %default total
2 |
3 | mutual
4 | caseTest : Nat -> Bool
^^^^^^^^^^^^^^^^^^^^^^
Error: dummy is not total, possibly not terminating due to recursive path Main.caseTest -> Main.dummy -> Main.caseTest
Issue1828:8:3--8:14
4 | caseTest : Nat -> Bool
5 | caseTest p with (dummy)
6 | caseTest p | _ = True
7 |
8 | dummy : Nat
^^^^^^^^^^^