fixed Print test

This commit is contained in:
JonathanFleischmann 2024-06-22 17:19:28 +02:00
parent 81590c62c5
commit fc7ca26f79
2 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ public class AST_Print {
List.of(
new Method(
Type.VOID,
"print",
"printIt",
List.of(
new Parameter(
"c",

View File

@ -1,9 +1,9 @@
public class Print {
public void print(char c) {
public void printIt(char c) {
print(c);
}
public void printMoreComplex(x, y) {
public void printMoreComplex(int x, int y) {
print(x < y);
}
}