Files
scriptc/tests
Chris Tate a24542e772 Keep inferred Promise.prototype bindings checked-dynamic in TypeScript
The checker types Promise.prototype as Promise<any>, so an inferred binding
of it, a module const or a local, inserted a promise check against the
ordinary object and threw a TypeError at initialization. Such bindings,
including promise.constructor.prototype, now stay checked-dynamic in
TypeScript as they already did in JavaScript, and corpus 6590 covers them.
2026-10-20 18:26:08 -05:00
..
2026-10-20 11:36:33 -05:00
…