[ 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

@@ -367,6 +367,7 @@ doArrow = do
(Just _) <- optional $ keyword "<-"
| _ => pure $ DoExpr fc left
right <- term
-- FIXME bad error for `| pure MkUnit`, we need to commit if indentation is correct.
alts <- startBlock $ manySame $ symbol "|" *> caseAlt
pure $ DoArrow fc left right alts