abaplint
abaplint copied to clipboard
prefer_inline: false positive when using interface/class?
When using global interface and class, it says to use inline declaration. Is there a way to do this in ABAP and avoid the error?
https://github.com/mbtools/TEST_INLINE/runs/3920601749

Program ZTEST_INLINE_GLOBAL:
DATA li_test TYPE REF TO zif_test_inline.
li_test = NEW zcl_test_inline( ).
li_test->test_1( ).
Interestingly, if class/interface are defined locally in the program, as expected, there's no error (see ZTEST_INLINE_LOCAL).
ref #2250
yea, this is also a bug in https://github.com/abapGit/upport