variadic-wrapper-fences.ts:5:7 - error SC2009: values of type '() => any' cannot be compiled: the function shape is supported, but its signature is variadic ('arguments'-reading), and a compiled signature is fixed-arity

  4 | // `arguments` with no fixed signature to lower against.
  5 | const loose = function () {
    |       ^~~~~
  6 |   return arguments[0];

  hint: the outer shape is supported — the named component is the blocker; restate it inside the compilable set (number, string, boolean, arrays, Maps, Sets, RegExp, functions, classes, records, unions of those, and 'unknown')

variadic-wrapper-fences.ts:6:10 - error SC1090: 'arguments' in a function expression whose value is not asserted to one fixed-arity signature (assert it, as in `function () { … } as F`, and the function lowers against that signature) is not supported yet

  5 | const loose = function () {
  6 |   return arguments[0];
    |          ^~~~~~~~~
  7 | };

variadic-wrapper-fences.ts:11:10 - error SC1090: forwarding a fixed argument tuple through 'apply' to a variadic function value is not supported yet (instantiating 'forward' with <[number, number]>)

  10 | function forward<A extends number[]>(sink: (...xs: number[]) => number, ...args: A): number {
  11 |   return sink.apply(null, args);
     |          ^~~~~~~~~~~~~~~~~~~~~~
  12 | }