Skip to content

fix line numbering in missed spans and handle file_lines in edge cases #3459

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

Merged
merged 1 commit into from
Mar 24, 2019

Conversation

scampi
Copy link
Contributor

@scampi scampi commented Mar 19, 2019

  • a leading/trailing newline character in missed spans was throwing off the
    start/end of ranges used to compare against file_lines
  • fix handling of file_lines when closing a block

Close #3442

- a leading/trailing newline character in missed spans was throwing off the
  start/end of ranges used to compare against file_lines
- fix handling of file_lines when closing a block

Close rust-lang#3442
@topecongiro
Copy link
Contributor

Thanks!

@topecongiro topecongiro merged commit 929d8a9 into rust-lang:master Mar 24, 2019
@scampi scampi deleted the issue-3442 branch April 8, 2019 22:12
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

Successfully merging this pull request may close these issues.

Comment inconsistency with file-lines option
2 participants