8000 Restore "unused glint-expect-error" diagnostic by machty · Pull Request #795 · typed-ember/glint · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Restore "unused glint-expect-error" diagnostic #795

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 10 commits into from
Feb 3, 2025
Merged

Conversation

machty
Copy link
Contributor
@machty machty commented Jan 31, 2025

When a {{! @glint-expect-error}} does not actually suppress an error, we generate a diagnostic to warn/error that the directive is unused, but this broke since Volar-izing. This PR reinstates it.

There are still a few corner cases where the range of the "unused directive" diagnostic is wider than it should be; tracking that here.

@machty machty force-pushed the expect-error-tweaks-2 branch from e38e119 to 57b72e7 Compare January 31, 2025 21:04
@machty machty changed the title expect-error followup Restore "unused glint-expect-error" diagnostic Feb 3, 2025
@machty machty merged commit 0e0d936 into main Feb 3, 2025
2 checks passed
@machty machty deleted the expect-error-tweaks-2 branch February 3, 2025 21:01
@github-actions github-actions bot mentioned this pull request Mar 23, 2025
@NullVoxPopuli NullVoxPopuli added the bug Something isn't working label Mar 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0