Skip to content
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

General - Sometimes the code lines mentioned in error messages are misaligned #149

Open
BaerbelW opened this issue Apr 29, 2022 · 2 comments

Comments

@BaerbelW
Copy link

BaerbelW commented Apr 29, 2022

I've had this issue regularly but here is an example related to the issue I reported with the Anagram exercise. The error message indicated lines 59 and 97 respectively which didn't really make much sense but it made troubleshooting more difficult:

We received the following error when we ran your code:

./zcl_anagram.clas.abap[59, 9] - Incompatible types (check_syntax) [E]
./zcl_anagram.clas.abap[97, 13] - Incompatible types (check_syntax) [E]
abaplint: 2 issue(s) found

The actual error happened a few lines (7 and 10 respectively) above the indicated ones. Not sure, what's throwing it off, empty lines perhaps?

@larshp
Copy link
Member

larshp commented Jul 13, 2022

yea, its a problem, due to the downporting, hmm

@larshp
Copy link
Member

larshp commented Aug 7, 2022

thinking, if the downport is correct, then the line numbers should also be correct, as errors are then reported in the original code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants