Files
scriptc/tests/harness/__snapshots__/object-create-fences.ts.txt
T
Chris Tate f8906d0b75 Expand static native object and array semantics (#569)
* Support primitive and function property descriptors

* Dispatch literal bracket calls to native class methods

* Handle numeric class method keys in bracket calls

* Call function values returned by class accessors

* Expand native object and array semantics

* Keep new corpus fixtures aligned with compiler gates

* Lower Object.isFrozen arguments once
2026-09-29 08:30:54 -05:00

8 lines
446 B
Plaintext

object-create-fences.ts:3:19 - error SC2020: 'Object.create over '{ indent: number }' prototypes' is part of the standard library types but has no scriptc lowering yet
2 | const base = { indent: 2 };
3 | const viaRecord = Object.create(base);
| ^~~~~~~~~~~~~~~~~~~
4 | base.indent = 4;
hint: the type checker sees the full standard library, but only the supported surface compiles (https://scriptc.dev/limitations)