Files
scriptc/packages/compiler
Chris Tate 4a5ddadd3d Memoize an empty literal's type separately as a union arm
The type mapper maps the type inferred from an empty object literal to the
empty record as an arm of an unreduced union and to a checked-dynamic
value elsewhere, but both answers shared one memo entry. Once the type had
been mapped on its own, a union such as `typeof empty | DataView` reused
the dynamic answer for its arm and refused (SC2009). The memo key now
includes whether the mapping is for such an arm.
2026-10-21 21:28:27 -05:00
..
2026-10-21 09:13:12 -05:00
2026-10-20 19:27:58 -05:00
2026-07-22 18:08:04 -05:00
2026-10-21 09:51:40 -05:00
2026-10-21 09:51:40 -05:00