-
Notifications
You must be signed in to change notification settings - Fork 786
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
Negative column with multi-line string literal #2032
Comments
I think the problem is here: Lines 1514 to 1521 in d277380
This code path doesn't check for the popped Lines 1536 to 1544 in d277380
I see that tests are explicitly checked not to contain windows line feeds so I'm unsure how to create a PR for this. |
Created PR #2033 |
ping @ariya 🙂 |
There already exist issues and PR"s created years back that he haven't responded too yet. Expect him to be a slow replier. |
And it's all fine, I understand that when it's free work one can choose his priorities. I just have some wishful thinking to verify the approach to get that on .NET version's side where we actually throw an error when we encounter invalid index values. |
When parsing a multi-line string literal that has windows line feeds (\r\n) a negative column number is produced.
Steps to reproduce
Expected output
Actual output
Relevant references
I see there's been such problem before too: #1844
The text was updated successfully, but these errors were encountered: