mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-25 07:27:52 +01:00
fix local variable names
This commit is contained in:
parent
17acda9456
commit
c57e5d42cf
@ -393,7 +393,7 @@ public class ModuleGenerator {
|
|||||||
type = localTypes.get( i );
|
type = localTypes.get( i );
|
||||||
String paramName = null;
|
String paramName = null;
|
||||||
if( variables != null ) {
|
if( variables != null ) {
|
||||||
paramName = variables.getPosition( paramCount ).getName();
|
paramName = variables.getPosition( paramCount + i ).getName();
|
||||||
}
|
}
|
||||||
writer.writeMethodParam( "local", type, paramName );
|
writer.writeMethodParam( "local", type, paramName );
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user