File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
tests/idris2/coverage/impossible003 Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 9090 Nothing => -- Expected an explicit argument, but only implicits left
9191 do let False = con
9292 | True => throw $ GenericMsg (getLoc fn) $
93- " Cannot match on a partialy applied constructor: "
93+ " Cannot match on a partially applied constructor: "
9494 ++ show ! (toFullNames fn)
9595 let True = null autos && null named
9696 | False => badClause fn [] autos named -- unexpected arguments
Original file line number Diff line number Diff line change 111/1: Building Main (Main.idr)
2- Warning: Main:2:5--2:6:Cannot match on a partialy applied constructor: Prelude.Types.S
2+ Warning: Main:2:5--2:6:Cannot match on a partially applied constructor: Prelude.Types.S
33
44Main:2:5--2:6
55 1 | foo : Nat -> Nat
You can’t perform that action at this time.
0 commit comments