scriptc coverage tests/coverage-fixtures/width-copies.ts

  statements analyzed   22
  compile statically    22  (100%)
    in dynamic tier     3  (operate on values typed only at runtime; --explain-dynamic lists them)

  fully static — all analyzed statements compile to native code.

  differs from Node   3 sites (compiles; the native program can behave differently)
      ×2  SC6001  converting this '{ label: string; tag: string }' to '{ label: string }' copies it (a conversion to another layout builds a new object), while under Node both names refer to one object: the program wr…
          at tests/coverage-fixtures/width-copies.ts:36:9, tests/coverage-fixtures/width-copies.ts:40:26
          hint: keep the value at its own type ('{ label: string; tag: string }') where it is passed or stored, or copy it explicitly (a spread, 'structuredClone') so that Node copies it too
      ×1  SC6001  converting this '{ label: string; tag: string }' to '{ label: string; note: string | undefined }' copies it (a conversion to another layout builds a new object), while under Node both names refer to …
          at tests/coverage-fixtures/width-copies.ts:21:10
          hint: keep the value at its own type ('{ label: string; tag: string }') where it is passed or stored, or copy it explicitly (a spread, 'structuredClone') so that Node copies it too