-
-
Notifications
You must be signed in to change notification settings - Fork 724
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
The lines reported aren't the lines with errors #2605
Milestone
Comments
Wow, this has been wrong since I originally added reporting for positions in non-ts source files... 2 years ago. The issue is in MinimalSourceFile.getLineAndCharacterOfPosition, where it incorrectly handles multiple consecutive newlines. |
... well, that was one of the things that was wrong. The code block was revealing another bug too! |
This was referenced Jul 27, 2024
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Search terms
line, code, block, markdown, README
Expected Behavior
The error lines reported correspond to the lines where there are problems.
Actual Behavior
Other lines are reported.
Steps to reproduce the bug
package.json
README.md
tsconfig.json
index.ts
// Unimportant.
Steps
npm install
npx typedoc
Environment
The text was updated successfully, but these errors were encountered: