mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 06:17:44 +00:00
Bugfix for delombok mangling x++ into ++x on java7.
This commit is contained in:
1 parent
aafd83079a
commit
1488a262bd
1 file changed
+1
-1
@@ -1245,7 +1245,7 @@ public class PrettyCommentsPrinter extends JCTree.Visitor {
|
||||
int ownprec = TreeInfo.opPrec(getTag(tree));
|
||||
String opname = operatorName(getTag(tree));
|
||||
open(prec, ownprec);
|
||||
if (getTag(tree) <= JCTree.PREDEC) {
|
||||
if (getTag(tree) <= Javac.getCtcInt(JCTree.class, "PREDEC")) {
|
||||
print(opname);
|
||||
printExpr(tree.arg, ownprec);
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user