aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok
diff options
context:
space:
mode:
authorRawi01 <Rawi01@users.noreply.github.com>2020-10-23 18:56:27 +0200
committerRoel Spilker <r.spilker@gmail.com>2020-10-29 22:57:46 +0100
commitdfbd843e5ac95dcd10cfb0c3d403d588b4123394 (patch)
tree641e346f767b7a41e60d45269195aaa70c55eb7e /src/core/lombok
parentf04ee37f6bd57564f3529030ac1a5233428894ea (diff)
downloadlombok-dfbd843e5ac95dcd10cfb0c3d403d588b4123394.tar.gz
lombok-dfbd843e5ac95dcd10cfb0c3d403d588b4123394.tar.bz2
lombok-dfbd843e5ac95dcd10cfb0c3d403d588b4123394.zip
[#2612] VarSymbol.adr is a bit field
Diffstat (limited to 'src/core/lombok')
-rw-r--r--src/core/lombok/javac/handlers/JavacHandlerUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/javac/handlers/JavacHandlerUtil.java b/src/core/lombok/javac/handlers/JavacHandlerUtil.java
index 48942ea9..5e64d8ef 100644
--- a/src/core/lombok/javac/handlers/JavacHandlerUtil.java
+++ b/src/core/lombok/javac/handlers/JavacHandlerUtil.java
@@ -1241,7 +1241,7 @@ public class JavacHandlerUtil {
if (param.sym == null) {
Type paramType = paramTypes == null ? param.getType().type : paramTypes.get(i);
VarSymbol varSymbol = new VarSymbol(param.mods.flags, param.name, paramType, symtab.noSymbol);
- varSymbol.adr = i;
+ varSymbol.adr = 1 << i;
List<JCAnnotation> annotations = param.getModifiers().getAnnotations();
if (annotations != null && !annotations.isEmpty()) {
ListBuffer<Attribute.Compound> newAnnotations = new ListBuffer<Attribute.Compound>();