Idris2/tests/idris2/error018/expected
Edwin Brady e633a9fa6e Correct error018 test
I expect I got my local versions inconsistent while working on this...
2021-07-22 13:36:03 +01:00

41 lines
870 B
Plaintext

1/1: Building Issue1031 (Issue1031.idr)
Error: ? is not a valid pattern
Issue1031:4:13--4:14
1 | %default total
2 |
3 | ohNo : Void
4 | ohNo = let (? ** x) = the (a ** a) (Int ** 5) in x
^
1/1: Building Issue1031-2 (Issue1031-2.idr)
Error: ? is not a valid pattern
Issue1031-2:4:9--4:10
1 | %default total
2 |
3 | foo : (x : Bool) -> x === True
4 | foo = \ ? => Refl
^
1/1: Building Issue1031-3 (Issue1031-3.idr)
Error: ? is not a valid pattern
Issue1031-3:4:6--4:7
1 | %default total
2 |
3 | cool : (x : Bool) -> x === True
4 | cool ? = Refl
^
1/1: Building Issue1031-4 (Issue1031-4.idr)
Error: While processing left hand side of nice. Unsolved holes:
Main.{dotTm:373} introduced at:
Issue1031-4:4:6--4:10
1 | %default total
2 |
3 | nice : (x : Bool) -> x === True
4 | nice .(_) = Refl
^^^^