-
-
Notifications
You must be signed in to change notification settings - Fork 438
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
"Jump to the function exit" in lcov report with multiline conditional #1875
Comments
nedbat
added a commit
that referenced
this issue
Dec 22, 2024
nedbat
added a commit
that referenced
this issue
Dec 23, 2024
nedbat
added a commit
that referenced
this issue
Dec 24, 2024
nedbat
added a commit
that referenced
this issue
Dec 24, 2024
nedbat
added a commit
that referenced
this issue
Dec 24, 2024
This is fixed in commit c85eaba. |
This is now released as part of coverage 7.6.10. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This test module contains a very simple multi-line controlling expression for an
if
statement.For some reason, the way the if statement is formatted causes the arc description engine to fail to pick up the name of the function. In an LCOV report we get these branch records for line 2:
The smallest change that makes the problem go away is to move the token
x
to line 2 without changing anything else, i.e.Then the branch records correctly identify the function:
Probably related to #1874.
The text was updated successfully, but these errors were encountered: