[ auto ] try autos if a meta in their type is solved

Also cut tryEval if the result is a lambda
This commit is contained in:
2025-07-27 14:50:37 -07:00
parent ff23deb825
commit bcf34c0941
6 changed files with 132 additions and 33 deletions

View File

@@ -79,6 +79,7 @@ tryEval env (VRef fc k sp) = do
val <- vappSpine vtm sp
case val of
VCase _ _ _ => pure Nothing
VLam _ _ _ _ _ => pure Nothing
-- For now? There is a spot in Compile.newt that has
-- two applications of fresh that is getting unfolded even
-- though it has the same head and spine. Possibly because it's