diff options
author | Rawi01 <Rawi01@users.noreply.github.com> | 2021-11-22 21:43:12 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2021-12-12 02:29:45 +0100 |
commit | 025a76aa66517c45a033407838750fdb43b3a870 (patch) | |
tree | 41dd38ec0dd8b2792d8b6720cccd83c3850fad9e /src/core/lombok/javac/handlers | |
parent | 5155060ddf48b683a902b9d354d0fd07df7a79a1 (diff) | |
download | lombok-025a76aa66517c45a033407838750fdb43b3a870.tar.gz lombok-025a76aa66517c45a033407838750fdb43b3a870.tar.bz2 lombok-025a76aa66517c45a033407838750fdb43b3a870.zip |
[fixes #3040] Support array initializer in onX
Diffstat (limited to 'src/core/lombok/javac/handlers')
-rw-r--r-- | src/core/lombok/javac/handlers/JavacHandlerUtil.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/lombok/javac/handlers/JavacHandlerUtil.java b/src/core/lombok/javac/handlers/JavacHandlerUtil.java index a41264e8..132bbff8 100644 --- a/src/core/lombok/javac/handlers/JavacHandlerUtil.java +++ b/src/core/lombok/javac/handlers/JavacHandlerUtil.java @@ -1820,6 +1820,7 @@ public class JavacHandlerUtil { private static void clearTypes(JCTree tree) { tree.accept(new TreeScanner() { @Override public void scan(JCTree tree) { + if (tree == null) return; tree.type = null; super.scan(tree); } |