bytecodealliance / jco

JavaScript toolchain for working with WebAssembly Components
https://bytecodealliance.github.io/jco/
Apache License 2.0
618 stars 62 forks source link

Fix syntax error with defined intrinsics #437

Closed guybedford closed 4 months ago

guybedford commented 4 months ago

Fixes a syntax error in not closing the statement correctly when outputting definedResourceTables.

We need a new output source to define the concept of defined intrinsics, which is now carried through properly to ensure scoping in all instantiation outputs.

Resolves https://github.com/bytecodealliance/jco/issues/436.