mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 08:17:18 +00:00
Use newSourceEnd for sourceAnd calculation
This commit is contained in:
1 parent
5ac9044224
commit
0a8794355f
1 file changed
+1
-1
@@ -261,7 +261,7 @@ public final class SetGeneratedByVisitor extends ASTVisitor {
|
||||
// start = newSourceStart;
|
||||
// end = newSourceStart;
|
||||
// return ((start<<32)+end);
|
||||
return ((long)newSourceStart << 32) | (newSourceStart & INT_TO_LONG_MASK);
|
||||
return ((long)newSourceStart << 32) | (newSourceEnd & INT_TO_LONG_MASK);
|
||||
}
|
||||
|
||||
@Override public boolean visit(AllocationExpression node, BlockScope scope) {
|
||||
|
||||
Reference in new issue
Block a user