diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2017-11-29 04:02:02 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2017-11-29 04:06:23 +0100 |
commit | af8c2bf8e5770d2d5a1f74a2b4959ceefb5ed03e (patch) | |
tree | e121984b8db937caf11d6abf6d72dd37b2fe480a /src/core/lombok | |
parent | 9be8cd4afdc2f12e6b6b26776f3ea6ccf79621c1 (diff) | |
download | lombok-af8c2bf8e5770d2d5a1f74a2b4959ceefb5ed03e.tar.gz lombok-af8c2bf8e5770d2d5a1f74a2b4959ceefb5ed03e.tar.bz2 lombok-af8c2bf8e5770d2d5a1f74a2b4959ceefb5ed03e.zip |
delombok in JDK9 now almost works. Some cases of ‘val’ don’t work yet.
Diffstat (limited to 'src/core/lombok')
-rw-r--r-- | src/core/lombok/javac/JavacResolution.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/javac/JavacResolution.java b/src/core/lombok/javac/JavacResolution.java index 0b6e1341..ded6284b 100644 --- a/src/core/lombok/javac/JavacResolution.java +++ b/src/core/lombok/javac/JavacResolution.java @@ -223,7 +223,7 @@ public class JavacResolution { private void attrib(JCTree tree, Env<AttrContext> env) { if (tree instanceof JCBlock) attr.attribStat(tree, env); - else if (tree instanceof JCMethodDecl) attr.attribStat(((JCMethodDecl)tree).body, env); + else if (tree instanceof JCMethodDecl) attr.attribStat(((JCMethodDecl) tree).body, env); else if (tree instanceof JCVariableDecl) attr.attribStat(tree, env); else throw new IllegalStateException("Called with something that isn't a block, method decl, or variable decl"); } |