Fixed issues with val in inner classes, and re-enabled a test that caught it that we ignored earlier.

This commit is contained in:
Reinier Zwitserloot
2015-02-01 06:52:52 +01:00
parent a6170f5298
commit e5860edabe
8 changed files with 111 additions and 9 deletions
@@ -1,3 +1,4 @@
//issue 694: In javac, resolving the RHS (which is what val does) can cause an entire class to be resolved, breaking all usage of val inside that class. This tests that we handle that better.
class ValWithLocalClasses1 {
{
lombok.val f2 = new ValWithLocalClasses2() {};