Files
scriptc/tests
Malte UblandClaude Opus 5.5 23db1f70fd Adopt thenables in await of untyped values, and read Promise.prototype as a value
- await of a checked-dynamic value is PromiseResolve then await, so an
  object with a callable then is adopted. The rewrite applies only when a
  program source can define a thenable; other programs keep the plain
  checked await.
- promise.constructor answers the Promise constructor; its prototype and
  Promise.prototype answer an object holding the runtime's then, catch
  and finally as non-enumerable own properties.
- Reflect.getOwnPropertyDescriptor and Reflect.defineProperty over checked
  objects.

Together these run execa 5's Promise mixin over checked objects.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 15:02:02 -07:00
..
2026-10-20 11:36:33 -05:00
…