-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a couple more errors in test cases
- Loading branch information
1 parent
896c330
commit 29c2a62
Showing
4 changed files
with
8 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() { | ||
|