-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: Rules "Convert CHECK inside/outside loop..." #71
Comments
Hi Uwe, uh oh, that's not good, of course – but shouldn't be too difficult to fix. Thanks a lot for reporting this! Kind regards, |
Hi Uwe, okay, the issue is fixed now; I will create a new release later today, because this is really the kind of bug we don't want to have in ABAP cleaner! Kind regards, |
Great to hear, we owe you a beer or two. Hope to meet you in real life in the near future. |
Hi Uwe, very kind, thank you! Let me know if you are around Walldorf :-) Taking this as an exercise in how fast deployment works if needed – so, this issue should be fixed in version 1.5.0, which was just released! Kind regards, |
New release works perfect, thank you. If there's a SAP Insidetrack Walldorf or something similar I'll be there. Unfortunatelly I'm not invited to DKOM anymore ;-) |
Applying the ABAP Cleaner on old reports with SELECT / ENDSELECT unfortunatelly creates "unwanted" behaviours.
Important:
please handle SELECT / ENDSELECT as a loop, too in rule "Convert CHECK inside a loop to IF NOT..." otherwise the rule "Convert CHECK outside loop" takes over.
Example:
Will be converted to
Which is obviously not the same, because the RETURN immediatelly leaves the FORM/METHOD/Program and not only the loop -> the code after the ENDSELECT will not be executed.
The text was updated successfully, but these errors were encountered: