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
If source code contains the following statement with CLASS ... DEFINITION DEFERRED like the following code snippet, an error occurs and execution of abap cleaner is being cancelled:
thanks for reporting this – yes, this is actually an unnecessary limitation and will be fixed with the next release. Until then, you could simply change this "CLASS: ..." chain into three "CLASS ... DEFINITION DEFERRED." statements, as suggested by the error message.
But regardless of this, you can always do nasty things with chains such as:
The above example was pretty-printed, but you can see how even the Pretty Printer is struggling to make sense of this. ABAP cleaner won't process such a case, either, although it is syntactically correct.
Interestingly, CLASS ... DEFINITION DEFERRED doesn't end the START-OF-SELECTION event, so if you run this:
If source code contains the following statement with CLASS ... DEFINITION DEFERRED like the following code snippet, an error occurs and execution of abap cleaner is being cancelled:
The text was updated successfully, but these errors were encountered: