mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 02:44:47 +01:00
The constructor has one parameter more.
This commit is contained in:
parent
0201157ffb
commit
3dbca800bb
@ -119,7 +119,7 @@ class WasmCallInstruction extends WasmInstruction {
|
||||
return;
|
||||
}
|
||||
Iterator<AnyType> parser = name.getSignature( types );
|
||||
paramCount = 0;
|
||||
paramCount = name.methodName.equals( "<init>" ) ? 1 : 0;
|
||||
while( parser.next() != null ) {
|
||||
paramCount++;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user