Idris2/tests/ttimp
Edwin Brady 97ee3d4cd3 Check LHS arguments are polymorphic enough
We already did this, but missed a few cases due to the way arguments are
elaborated. So now, when checking an LHS, we don't allow LHS argument
types to be inferred from the pattern, but rather they must be inferred
from elsewhere. To do this, we keep track of the constraints which would
be solved when inferring the type, and make sure they don't solve any
new metavariables. Fixes #1510, and also now gets the error location
right as a bonus!
2021-06-13 13:31:40 +01:00
..
basic001 fixed whitespace for *.idr,*.ipkg,*.tex,*.yaff, and *.lidr 2021-01-22 15:08:49 +00:00
basic002 Add test script 2020-05-19 18:25:18 +01:00
basic003 Store postponed unification problems as values 2021-05-15 20:03:33 +01:00
basic004 Add test script 2020-05-19 18:25:18 +01:00
basic005 fixed whitespace for *.idr,*.ipkg,*.tex,*.yaff, and *.lidr 2021-01-22 15:08:49 +00:00
basic006 [ new ] --install-with-src; refactoring around FCs (#1450) 2021-06-05 12:53:22 +01:00
coverage001 Check LHS arguments are polymorphic enough 2021-06-13 13:31:40 +01:00
coverage002 Check LHS arguments are polymorphic enough 2021-06-13 13:31:40 +01:00
dot001 [ new ] --install-with-src; refactoring around FCs (#1450) 2021-06-05 12:53:22 +01:00
eta001 Check LHS arguments are polymorphic enough 2021-06-13 13:31:40 +01:00
eta002 Check LHS arguments are polymorphic enough 2021-06-13 13:31:40 +01:00
lazy001 fixed whitespace for *.idr,*.ipkg,*.tex,*.yaff, and *.lidr 2021-01-22 15:08:49 +00:00
nest001 fixed whitespace for *.idr,*.ipkg,*.tex,*.yaff, and *.lidr 2021-01-22 15:08:49 +00:00
nest002 fixed whitespace for *.idr,*.ipkg,*.tex,*.yaff, and *.lidr 2021-01-22 15:08:49 +00:00
perf001 fixed whitespace for *.idr,*.ipkg,*.tex,*.yaff, and *.lidr 2021-01-22 15:08:49 +00:00
perf002 fixed whitespace for *.idr,*.ipkg,*.tex,*.yaff, and *.lidr 2021-01-22 15:08:49 +00:00
perf003 Correct multiplicities when checking Pi binders 2021-03-09 17:23:05 +00:00
qtt001 [ new ] --install-with-src; refactoring around FCs (#1450) 2021-06-05 12:53:22 +01:00
qtt003 [ new ] --install-with-src; refactoring around FCs (#1450) 2021-06-05 12:53:22 +01:00
record001 fixed whitespace for *.idr,*.ipkg,*.tex,*.yaff, and *.lidr 2021-01-22 15:08:49 +00:00
record002 fixed whitespace for *.idr,*.ipkg,*.tex,*.yaff, and *.lidr 2021-01-22 15:08:49 +00:00
record003 fixed whitespace for *.idr,*.ipkg,*.tex,*.yaff, and *.lidr 2021-01-22 15:08:49 +00:00
total001 Add test script 2020-05-19 18:25:18 +01:00
total002 Cache intermediate results in totality checking 2021-05-26 15:48:09 +01:00
total003 Add test script 2020-05-19 18:25:18 +01:00