Idris2-boot/tests/idris2/reg002/run
Edwin Brady 6f9cca6ce3 Change inference of function types in unification
Always infer a multiplicity of W. Since we can pass a linear function to
one which expects an unrestricted argument, this gives the more general
result if the multiplicity is otherwise unknown.
This makes things like 'maybe id (+) x y' type check again even in the
presence of an 'id' which is declared linear!
2020-01-27 17:54:21 +00:00

4 lines
34 B
Plaintext
Executable File

$1 --check linm.idr
rm -rf build