mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2024-12-18 18:31:43 +03:00
6f9cca6ce3
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!
4 lines
34 B
Plaintext
Executable File
4 lines
34 B
Plaintext
Executable File
$1 --check linm.idr
|
|
|
|
rm -rf build
|