Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes the bug reported in Issue #241.
It makes $r available in the code given to CtBehavior#insertBefore().
- Loading branch information
Showing
5 changed files
with
30 additions
and
2 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
Binary file not shown.
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
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package test5; | ||
|
||
public class InsertBeforeDollarR { | ||
public int run() { | ||
if (foo(1, "baz").equals("baz")) | ||
return 1; | ||
else | ||
return 0; | ||
} | ||
|
||
public String foo(int i, Object obj) { | ||
return String.valueOf(i); | ||
} | ||
} |