fix local variable names

This commit is contained in:
Volker Berlin 2019-02-15 20:02:13 +01:00
parent 17acda9456
commit c57e5d42cf

View File

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