Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move more of match translation out of typers
reduce duplication in [typed/translated]Match & co in preparation of moving match translation out of the type checker, setting everything up so that we can simply type Match nodes first, then translate them separately using DefaultOverrideMatchAttachment to remember the default override for a match that defines a PartialFunction only strip annotations when translating match or cps in matches fails widen selector type when translating match-derived partialfunction slightly less cps-specific
- Loading branch information
Showing
3 changed files
with
78 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters