We haven't implemented CanonicalABI convertion for fixed length list in
and same in genLoadMemory and in ScalaJSToCABI.scala.
🔧 A list with a fixed length provides the low-level memory representation of a
homogeneous tuple of the same length, but with the dynamic indexing of a
list. E.g., the following two functions have the same low-level (Core
WebAssembly) representation, but will naturally produce different source-level
bindings:
get-ipv4-address1: func() -> list<u8, 4>;
get-ipv4-address2: func() -> tuple<u8, u8, u8, u8>;
https://github.com/WebAssembly/component-model/blob/3aa202d7f21e604caa9fcae192c75a67ccfd9822/design/mvp/WIT.md?plain=1#L1750-L1754
We haven't implemented CanonicalABI convertion for fixed length list in
scala-wasm/linker/shared/src/main/scala/org/scalajs/linker/backend/wasmemitter/canonicalabi/CABIToScalaJS.scala
Line 263 in ff1e80e
and same in
genLoadMemoryand inScalaJSToCABI.scala.https://github.com/WebAssembly/component-model/blob/3aa202d7f21e604caa9fcae192c75a67ccfd9822/design/mvp/WIT.md?plain=1#L1750-L1754