#3330

Release notes for 0.4.9 say resizable ArrayBuffer is supported, still errors out

Openguest271314opened 5d ago
scriptc-0.4.9-linux-x64-gnu/bin/scriptc --version
0.4.9
scriptc-0.4.9-linux-x64-gnu/bin/scriptc build ./nm_bun_sync.ts --optimization=release --strip -o nm_bun_sync
/home/user/localscripts/native-messaging-scriptc/nm_bun_sync.ts:31:29 - error SC2020: 'resizable ArrayBuffer construction' is part of the standard library types but has no scriptc lowering yet

  30 | // .length/.buffer/.byteOffset off a view of a resizable buffer.
  31 | const buffer: ArrayBuffer = new ArrayBuffer(
     |                             ^~~~~~~~~~~~~~~~
  32 |   0,

  hint: fixed-length ArrayBuffers accept a byte length; resizable storage is not supported yet

1 error.

Activity

0

No activity yet.