You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: "prefer_is_not..." in combination with "move and/or..." breaks when comments are present #88
-> the second NOT was not moved to after the variable because there was a comment in the first line.
This is the code to reproduce the error:
REPORT zbug_cleaner.
DATA variable1 TYPE string.
DATA variable2 TYPE string.
DATA variable3 TYPE string.
IFNOT variable1 ISINITIALAND" commentNOT variable2 ISINITIALANDNOT variable3 ISINITIAL.
ENDIF.
thanks for this issue! Yes, the fact that any number of comments could appear anywhere within the statement can be a bit difficult to consider in the alignment rules, but this should be fixed with the next release:
Activity
jmgrassau commentedon Aug 15, 2023
Hi openPhil,
thanks for this issue! Yes, the fact that any number of comments could appear anywhere within the statement can be a bit difficult to consider in the alignment rules, but this should be fixed with the next release:
Kind regards,
Jörg-Michael
fix LogicalOperatorPositionRule for comments at line end (SAP#88)
fix LogicalOperatorPositionRule for comments at line end (#88)
jmgrassau commentedon Aug 15, 2023
Hi openPhiL,
thanks again – this should now be fixed with version 1.5.2 which was just released!
Kind regards,
Jörg-Michael