Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Start typechecking destructuring patterns in TypeCheck
Right now this recalculates what values are being assigned to a lvalue in a destructuring pattern from the rhs value. We should consider modifying this in the future to avoid repeating work done in TypeInference. Still doesn't handle computed properties or default values in destructuring patterns. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=207912024
- Loading branch information
1 parent
d4d9d3d
commit 48eb424
Showing
2 changed files
with
210 additions
and
86 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
Oops, something went wrong.