Changed "bool" to "boolean"

This commit is contained in:
Jochen Seyfried 2024-06-22 16:39:29 +02:00
parent 9ff069827a
commit 90936affb9
3 changed files with 3 additions and 3 deletions

View File

@ -65,7 +65,7 @@ public class LocalVarIdentifier extends AbstractType implements IExpression{
case "int":
mv.visitVarInsn(Opcodes.ILOAD, index);
break;
case "bool":
case "boolean":
mv.visitVarInsn(Opcodes.ILOAD, index);
break;
case "void":

View File

@ -116,7 +116,7 @@ public class AssignStatementExpression extends AbstractType implements IExpressi
case "int":
descriptor.append("I");
break;
case "bool":
case "boolean":
descriptor.append("Z");
break;
default:

View File

@ -66,7 +66,7 @@ public class NewStatementExpression extends AbstractType implements IExpression,
case "int":
descriptor.append("I");
break;
case "bool":
case "boolean":
descriptor.append("Z");
break;
case "char":