mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2024-11-28 05:32:03 +03:00
91262b4800
A local variable can't be applied to itself when searching (otherwise, for example, we could end up trying something like id id id id id id etc forever). So remove it from the environment before searching for its arguments. This and the previous patch fix #24. (Or, at least, the minimised cases reported as part of it!) |
||
---|---|---|
.. | ||
A.idr | ||
expected | ||
run |