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

fix(lsp): Pass diagnostic codes to TSC as numbers #23720

Merged
merged 7 commits into from
May 6, 2024

Conversation

nathanwhit
Copy link
Member

Fixes the Debug Failure errors described in #23643 (comment) .

The issue here was that we were passing diagnostic codes as strings but TSC expects the codes to be numbers. This resulted in some quick fixes not working (as illustrated by the test added here which fails before this PR).

The first commit is the actual fix. The rest are just test related.

@nathanwhit nathanwhit enabled auto-merge (squash) May 6, 2024 23:24
@nathanwhit nathanwhit merged commit 672216d into denoland:main May 6, 2024
17 checks passed
@nathanwhit nathanwhit deleted the debug-failure branch May 6, 2024 23:56
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.

None yet

2 participants