From dfbd843e5ac95dcd10cfb0c3d403d588b4123394 Mon Sep 17 00:00:00 2001 From: Rawi01 Date: Fri, 23 Oct 2020 18:56:27 +0200 Subject: [#2612] VarSymbol.adr is a bit field --- src/core/lombok/javac/handlers/JavacHandlerUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 annotations = param.getModifiers().getAnnotations(); if (annotations != null && !annotations.isEmpty()) { ListBuffer newAnnotations = new ListBuffer(); -- cgit