You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add LUB computation for class types (#2594) (4b3b390)
Binary and ternary expressions now compute and evaluate to the least upper bound of two not identical class type inputs in the absence of a better fitting contextual type. Technically a breaking change, yet likely without noticeable effects on existing code.
Bug fixes
Defuse assert in lookupPropertyAccessExpression after prior error (82812de)
Support trailing comma in function type parameters (#2608) (1ff71e5)
Other
Use DataView in bindings generation (#2599) (a1434b2)
Fix variable initialization checks / revise flow logic (#2578) (6717de0)
Initialization of global variables sometimes wasn't guaranteed before, allowing unsafe behavior if initialization indeed wasn't performed before access. To mitigate, variables from now on require either an initializer, a primitive type with a trivial default value (typically 0), a nullable type (if a reference, defaulting to null) or otherwise annotation with definitive assignment (i.e. let someObject!: ..., then inserting a runtime check upon access).
Other
Speed-up signature lookups, make signatures immutable (#2582) (378659a)