mirror of
https://github.com/JonathanFleischmann/CompilerULTIMATE.git
synced 2024-12-28 14:48:03 +00:00
fixed Print test
This commit is contained in:
parent
81590c62c5
commit
fc7ca26f79
@ -17,7 +17,7 @@ public class AST_Print {
|
|||||||
List.of(
|
List.of(
|
||||||
new Method(
|
new Method(
|
||||||
Type.VOID,
|
Type.VOID,
|
||||||
"print",
|
"printIt",
|
||||||
List.of(
|
List.of(
|
||||||
new Parameter(
|
new Parameter(
|
||||||
"c",
|
"c",
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
public class Print {
|
public class Print {
|
||||||
public void print(char c) {
|
public void printIt(char c) {
|
||||||
print(c);
|
print(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void printMoreComplex(x, y) {
|
public void printMoreComplex(int x, int y) {
|
||||||
print(x < y);
|
print(x < y);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user