Idris2/tests/idris2/real002
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
..
Control Check LHS arguments are polymorphic enough 2021-06-13 13:31:40 +01:00
expected [ fix #621 ] add warnings for shadowed global definition (#1407) 2021-05-14 17:35:21 +01:00
run Rename --consolewidth option to --console-width for consistency 2020-08-19 11:59:31 +01:00
Store.idr Remove trailing whitespaces and add trailing newlines 2021-01-16 10:00:03 +00:00
StoreL.idr [ fix #758 ] desugar non-binding sequencing in do blocks to (>>) (#1095) 2021-02-24 11:07:16 +00:00