This website requires JavaScript.
Explore
Help
Sign In
edwinb
/
Idris2-boot
Watch
1
Star
1
Fork
0
You've already forked Idris2-boot
mirror of
https://github.com/edwinb/Idris2-boot.git
synced
2024-12-22 04:11:31 +03:00
Code
Issues
Projects
Releases
Wiki
Activity
bb55ac5f1d
Idris2-boot
/
tests
/
idris2
/
interface007
/
run
4 lines
50 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Auto implicit search fix Can't use a local which has 'erased' as its type, since that's just been substituted in while working out how many arguments a local function needs to have. Also need to ensure we've searched for default hints when encountering IBindImplicits rather than after because otherwise it might find the wrong instance. Both these problems result it terms which don't type check getting past the elaborator! So, also added a --debug-elab-check flag to check the result of elaboration. It's not on by default because there are cases where it really hurts performance, typically when inferring implicits with lots of sharing. So we'll keep it as a debug flag, for now at least.
2019-10-18 20:26:32 +03:00
$1 --debug-elab-check --check A.idr
Fix possible loop in auto implicit search 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!)
2019-07-22 13:19:10 +03:00
rm -rf build
Reference in New Issue
Copy Permalink