mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-25 07:27:52 +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;
|
return;
|
||||||
}
|
}
|
||||||
Iterator<AnyType> parser = name.getSignature( types );
|
Iterator<AnyType> parser = name.getSignature( types );
|
||||||
paramCount = 0;
|
paramCount = name.methodName.equals( "<init>" ) ? 1 : 0;
|
||||||
while( parser.next() != null ) {
|
while( parser.next() != null ) {
|
||||||
paramCount++;
|
paramCount++;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user