The constructor has one parameter more.

This commit is contained in:
Volker Berlin 2020-01-05 22:07:20 +01:00
parent 0201157ffb
commit 3dbca800bb

View File

@ -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++;
}