diff options
author | Roel Spilker <r.spilker@gmail.com> | 2010-11-22 23:02:08 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2010-11-22 23:02:08 +0100 |
commit | 8eb05b357d37b8e58cfb4ecb331371c88f1a856b (patch) | |
tree | 6576e7498333121091568bfaca600278977611df /src/core/lombok/javac/handlers | |
parent | 3a89cbe7e7610c649c45e3647d766fdb027f068d (diff) | |
parent | 7dede9a6647ded762701d70d6e71066557196fb5 (diff) | |
download | lombok-8eb05b357d37b8e58cfb4ecb331371c88f1a856b.tar.gz lombok-8eb05b357d37b8e58cfb4ecb331371c88f1a856b.tar.bz2 lombok-8eb05b357d37b8e58cfb4ecb331371c88f1a856b.zip |
Merge branch 'master' of git@github.com:rzwitserloot/lombok
Diffstat (limited to 'src/core/lombok/javac/handlers')
-rw-r--r-- | src/core/lombok/javac/handlers/HandleVal.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lombok/javac/handlers/HandleVal.java b/src/core/lombok/javac/handlers/HandleVal.java index bf938362..3aa695ea 100644 --- a/src/core/lombok/javac/handlers/HandleVal.java +++ b/src/core/lombok/javac/handlers/HandleVal.java @@ -71,14 +71,14 @@ public class HandleVal extends JavacASTAdapter { if (rhsOfEnhancedForLoop == null) { if (local.init.type == null) { JavacResolution resolver = new JavacResolution(localNode.getContext()); - type = ((JCExpression) resolver.resolve(localNode).get(local.init)).type; + type = ((JCExpression) resolver.resolveMethodMember(localNode).get(local.init)).type; } else { type = local.init.type; } } else { if (rhsOfEnhancedForLoop.type == null) { JavacResolution resolver = new JavacResolution(localNode.getContext()); - type = ((JCExpression) resolver.resolve(localNode.directUp()).get(rhsOfEnhancedForLoop)).type; + type = ((JCExpression) resolver.resolveMethodMember(localNode.directUp()).get(rhsOfEnhancedForLoop)).type; } else { type = rhsOfEnhancedForLoop.type; } |