Skip to content

Commit

Permalink
Fix a couple more errors in test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
TehMillhouse committed Nov 8, 2014
1 parent 896c330 commit 29c2a62
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 11 deletions.
2 changes: 1 addition & 1 deletion pos-parser/replimoc5.mj
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Oo {

int minus_zero = -0;

new basic_type[42][][][15];
new basic_type[42][][][];

!null * -false;

Expand Down
8 changes: 4 additions & 4 deletions pos/ForwardClassDeclarations.mj
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
class A {
B forward_class = new B();
int foo() {
return B.bar()
public B forward_class;
public int foo() {
return B.bar();
}
}

class B {
int bar() {
public int bar() {
return 3;
}
}
7 changes: 2 additions & 5 deletions pos/ForwardMethodDeclarations.mj
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
class A {
int a = foo();
int b = 3;

int foo() {
public int foo() {
return bar();
}

int bar() {
public int bar() {
return 0;
}
}
2 changes: 1 addition & 1 deletion pos/InliningShouldTerminate.mj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
class A {
public static void main(String[] args) {
foo()
foo();
}

public void foo() {
Expand Down

0 comments on commit 29c2a62

Please sign in to comment.