erase arts in lifted where functions

This commit is contained in:
2025-10-24 11:09:57 -07:00
parent 11ffd96a91
commit 8aee58c23b
4 changed files with 35 additions and 17 deletions

View File

@@ -2,6 +2,12 @@
## TODO
- [ ] Remove erased args from primitive functions
- [ ] consider moving primitive functions to a support file
- Downside here is that we lose some dead code elimination, but it better supports bootstrapping when calling convention changes.
- [ ] allow declaration of primitive operators
- Removes assumptions of hack in Compile.newt, but might not support other backends
- Alternate solution would be to pull from Prelude and hard code for all backends
- POper added to physical syntax types, but not implemented
- [x] Remove erased fields from constructor data
- [ ] Teach magic nat / magic enum about erased args
- [ ] Update LiftLambda.newt for arg removal changes