mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 10:44:47 +01:00
Fix multiple return values
This commit is contained in:
parent
6b85a00e4b
commit
95b72762f7
@ -287,7 +287,7 @@ public class BinaryModuleWriter extends ModuleWriter implements InstructionOpcod
|
||||
functionType.params.add( valueType );
|
||||
break;
|
||||
case "result":
|
||||
functionType.result = valueType;
|
||||
functionType.results.add( valueType );
|
||||
return;
|
||||
case "local":
|
||||
locals.add( valueType );
|
||||
|
Loading…
x
Reference in New Issue
Block a user