mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 10:44:47 +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 );
|
||||
String paramName = null;
|
||||
if( variables != null ) {
|
||||
paramName = variables.getPosition( paramCount ).getName();
|
||||
paramName = variables.getPosition( paramCount + i ).getName();
|
||||
}
|
||||
writer.writeMethodParam( "local", type, paramName );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user