mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2024-12-01 06:12:57 +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! |
||
---|---|---|
.. | ||
expected | ||
linm.idr | ||
run |