-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the type info for elements of arrays and tuples in type_system_v2.
In a case like `const X: u32[3] = [1, 2, 3]`, we were previously allowing the literals in the array to just assume the unified RHS element type of u2, only factoring the LHS into the overall type of [1, 2, 3]. PiperOrigin-RevId: 714263472
- Loading branch information
1 parent
1019538
commit a00d2c2
Showing
4 changed files
with
576 additions
and
620 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
Oops, something went wrong.