Skip to content

v0.0.0-6704-ga00d2c2c2

Compare
Choose a tag to compare
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