Surface erasure errors in editor, fix issue checking erasure after inlining

This commit is contained in:
2025-12-26 13:00:53 -08:00
parent 2137e102e7
commit 9bbc7208d7
4 changed files with 19 additions and 1 deletions

View File

@@ -1,9 +1,12 @@
## TODO
- [ ] "Expected keyword" at `\ a ->` should be error at the `->`
- [ ] Show Either
- [ ] `local` for `where`-like `let` clauses? (I want a `where` that closes over more stuff)
- [ ] Erasure checking happens at compile time and isn't surfaced to editor..
- I can do `let f : ... = \ a b c => ...`. But it doesn't work for recursion and cases are awkward.
- [x] Erasure checking happens at compile time and isn't surfaced to editor..
- [ ] Erasure issue during AoC from case building replacing a non-erased value with erased.
- [ ] Add Foldable?
- [ ] "Failed to unify %var0 and %var1" - get names in there
- Need fancier `Env`