Skip to content

Commit

Permalink
[#2612] VarSymbol.adr is a bit field
Browse files Browse the repository at this point in the history
  • Loading branch information
Rawi01 authored and rspilker committed Oct 29, 2020
1 parent f04ee37 commit dfbd843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/lombok/javac/handlers/JavacHandlerUtil.java
Expand Up @@ -1241,7 +1241,7 @@ public static void injectMethod(JavacNode typeNode, JCMethodDecl method, List<Ty
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>();
Expand Down

0 comments on commit dfbd843

Please sign in to comment.