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

"Unused glint-expect-error" diagnostics sometimes span more source code text than they should #796

Open
machty opened this issue Feb 3, 2025 · 0 comments · May be fixed by #799
Open

"Unused glint-expect-error" diagnostics sometimes span more source code text than they should #796

machty opened this issue Feb 3, 2025 · 0 comments · May be fixed by #799

Comments

@machty
Copy link
Contributor

machty commented Feb 3, 2025

Minor issue, but after fixing some glint-expect-error issues in #795, I noticed that the diagnostic span of text for "unused glint-expect-error" directives is a bit too wide. This issue may self-correct if we refactor/simplify some of the ways that Volar maps between source and generated code.

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