Skip to content

Commit

Permalink
chore(compiler): make type_check_exp a simple match for dispatching…
Browse files Browse the repository at this point in the history
… calls to more spcific `type_check_XXX` for each expr kind (#6312)

This makes the type checker code much more readable, no functional changes in this PR.

## Checklist

- [x] Title matches [Winglang's style guide](https://www.winglang.io/contributing/start-here/pull_requests#how-are-pull-request-titles-formatted)
- [x] Description explains motivation and solution
- [ ] Tests added (always)
- [ ] Docs updated (only required for features)
- [ ] Added `pr/e2e-full` label if this feature requires end-to-end testing

*By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*.
  • Loading branch information
yoav-steinberg authored Apr 24, 2024
1 parent 722c92a commit b60d52d
Showing 1 changed file with 752 additions and 685 deletions.
Loading

0 comments on commit b60d52d

Please sign in to comment.