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
so, but, I do see this as a scenario for data flow analysis, that the return value of the function can take two values, and INITIAL is not one of these. Data flow analysis is difficult in ABAP, but I am starting to have some good infrastructure in https://abaplint.org so it might be possible to add there, sometime
We can use a predicate method call IS_EOF( ) in an IF expression as
This will be interpreted as
Let us assume the method IS_EOF( ) returns an object type with two constant values
The code should now be changed to
to be correct. The issue is that
will not trigger any error/warning from the syntax check. The code will silently fail.
Could you create a check for this case?
The text was updated successfully, but these errors were encountered: