assert-class-fences.ts:10:1 - error SC2020: 'assert.Assert instances used as values' is part of the standard library types but has no scriptc lowering yet

   9 | 
  10 | new Assert().ok(true); // an instance that is not bound to a const
     | ^~~~~~~~~~~~
  11 | 

  hint: bind `new Assert(...)` with literal options to a const and only call methods on it (`const a = new Assert({ diff: 'full' }); a.strictEqual(x, y)`)

assert-class-fences.ts:12:16 - error SC2020: 'assert.Assert instances used as values' is part of the standard library types but has no scriptc lowering yet

  11 | 
  12 | const passed = new Assert();
     |                ^~~~~~~~~~~~
  13 | function useInstance(a: Assert | object): void {

  hint: bind `new Assert(...)` with literal options to a const and only call methods on it (`const a = new Assert({ diff: 'full' }); a.strictEqual(x, y)`)

assert-class-fences.ts:13:22 - error SC2001: values of type 'object | Assert' cannot be compiled yet (supported: number, string, boolean, arrays, Maps, Sets, RegExp, read-only Date values, functions, classes, records, unions of those, and 'unknown')

  12 | const passed = new Assert();
  13 | function useInstance(a: Assert | object): void {
     |                      ^
  14 |   console.log(typeof a);

assert-class-fences.ts:16:1 - error SC2004: uses of 'useInstance' inherit the blocker on its declaration

  15 | }
  16 | useInstance(passed); // an instance passed as a value
     | ^~~~~~~~~~~
  17 | 

  hint: the declaration of 'useInstance' did not compile — fix the diagnostic reported there and these sites clear with it

assert-class-fences.ts:19:21 - error SC2020: 'assert.Assert instances used as values' is part of the standard library types but has no scriptc lowering yet

  18 | const options = { strict: false };
  19 | const fromOptions = new Assert(options); // options that are not a literal
     |                     ^~~~~~~~~~~~~~~~~~~
  20 | fromOptions.equal(1, 1);

  hint: bind `new Assert(...)` with literal options to a const and only call methods on it (`const a = new Assert({ diff: 'full' }); a.strictEqual(x, y)`)

assert-class-fences.ts:20:1 - error SC2020: 'Assert.equal' is part of the standard library types but has no scriptc lowering yet

  19 | const fromOptions = new Assert(options); // options that are not a literal
  20 | fromOptions.equal(1, 1);
     | ^~~~~~~~~~~~~~~~~
  21 | 

  hint: the type checker sees the full standard library, but only the supported surface compiles (https://scriptc.dev/limitations)

assert-class-fences.ts:22:15 - error SC2020: 'assert.Assert instances used as values' is part of the standard library types but has no scriptc lowering yet

  21 | 
  22 | let rebound = new Assert(); // a let binding
     |               ^~~~~~~~~~~~
  23 | rebound.ok(true);

  hint: bind `new Assert(...)` with literal options to a const and only call methods on it (`const a = new Assert({ diff: 'full' }); a.strictEqual(x, y)`)

assert-class-fences.ts:23:1 - error SC2020: 'AssertStrict.ok' is part of the standard library types but has no scriptc lowering yet

  22 | let rebound = new Assert(); // a let binding
  23 | rebound.ok(true);
     | ^~~~~~~~~~
  24 | rebound = new Assert();

  hint: the type checker sees the full standard library, but only the supported surface compiles (https://scriptc.dev/limitations)

assert-class-fences.ts:24:1 - error SC2004: uses of 'rebound' inherit the blocker on its declaration

  23 | rebound.ok(true);
  24 | rebound = new Assert();
     | ^~~~~~~
  25 | 

  hint: the declaration of 'rebound' did not compile — fix the diagnostic reported there and these sites clear with it

assert-class-fences.ts:26:22 - error SC2020: 'assert.Assert instances used as values' is part of the standard library types but has no scriptc lowering yet

  25 | 
  26 | const destructured = new Assert();
     |                      ^~~~~~~~~~~~
  27 | const { ok } = destructured; // destructured methods lose the instance options

  hint: bind `new Assert(...)` with literal options to a const and only call methods on it (`const a = new Assert({ diff: 'full' }); a.strictEqual(x, y)`)

assert-class-fences.ts:27:16 - error SC2004: uses of 'destructured' inherit the blocker on its declaration

  26 | const destructured = new Assert();
  27 | const { ok } = destructured; // destructured methods lose the instance options
     |                ^~~~~~~~~~~~
  28 | ok(true);

  hint: the declaration of 'destructured' did not compile — fix the diagnostic reported there and these sites clear with it