aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/javac/JavacResolution.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2014-07-01 21:21:00 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2015-01-31 04:40:00 +0100
commit6a91c013ca2b20cc378515b83e3584f1dad958c0 (patch)
treea8aec0106d8ed34fe54f62aa9b14d5135cf21b78 /src/core/lombok/javac/JavacResolution.java
parente5705f94cd3778a2e0d25060f1e013d0c33bfb90 (diff)
downloadlombok-6a91c013ca2b20cc378515b83e3584f1dad958c0.tar.gz
lombok-6a91c013ca2b20cc378515b83e3584f1dad958c0.tar.bz2
lombok-6a91c013ca2b20cc378515b83e3584f1dad958c0.zip
[i694] When we resolve anything with inner classes, supertype references in those inner classes
that also have val will break, depending on compile order. This should fix it.
Diffstat (limited to 'src/core/lombok/javac/JavacResolution.java')
-rw-r--r--src/core/lombok/javac/JavacResolution.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/javac/JavacResolution.java b/src/core/lombok/javac/JavacResolution.java
index 23d7d482..294d4fea 100644
--- a/src/core/lombok/javac/JavacResolution.java
+++ b/src/core/lombok/javac/JavacResolution.java
@@ -241,7 +241,7 @@ public class JavacResolution {
Type type0 = type;
while (type0 instanceof ArrayType) {
dims++;
- type0 = ((ArrayType)type0).elemtype;
+ type0 = ((ArrayType) type0).elemtype;
}
JCExpression result = typeToJCTree0(type0, ast, allowCompound, allowVoid);