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(compiler-cli): catch fatal diagnostic when getting diagnostics fo… #50046

Closed

Conversation

atscott
Copy link
Contributor

@atscott atscott commented Apr 27, 2023

…r components

This commit adds similar handling to what was done in ed817e3. The language service calls the getDiagnosticsForComponent function when the file is not a typescript file.

fixes angular/vscode-ng-language-service#1881

@atscott atscott added area: language-service Issues related to Angular's VS Code language service target: patch This PR is targeted for the next patch release area: compiler Issues related to `ngc`, Angular's template compiler labels Apr 27, 2023
@atscott atscott requested a review from alxhub April 27, 2023 17:14
@ngbot ngbot bot modified the milestone: Backlog Apr 27, 2023
…r components

This commit adds similar handling to what was done in angular@ed817e3.
The language service calls the `getDiagnosticsForComponent` function
when the file is not a typescript file.

fixes angular/vscode-ng-language-service#1881
@atscott atscott force-pushed the catchFatalDiagnosticsForComponent branch from a43d90b to a990bcc Compare April 27, 2023 17:57
@atscott atscott added the action: merge The PR is ready for merge by the caretaker label Apr 27, 2023
@pkozlowski-opensource
Copy link
Member

This PR was merged into the repository by commit ce00738.

pkozlowski-opensource pushed a commit that referenced this pull request Apr 28, 2023
…r components (#50046)

This commit adds similar handling to what was done in ed817e3.
The language service calls the `getDiagnosticsForComponent` function
when the file is not a typescript file.

fixes angular/vscode-ng-language-service#1881

PR Close #50046
pkozlowski-opensource pushed a commit that referenced this pull request Apr 28, 2023
…r components (#50046)

This commit adds similar handling to what was done in ed817e3.
The language service calls the `getDiagnosticsForComponent` function
when the file is not a typescript file.

fixes angular/vscode-ng-language-service#1881

PR Close #50046
sr5434 pushed a commit to sr5434/angular that referenced this pull request May 3, 2023
…r components (angular#50046)

This commit adds similar handling to what was done in angular@ed817e3.
The language service calls the `getDiagnosticsForComponent` function
when the file is not a typescript file.

fixes angular/vscode-ng-language-service#1881

PR Close angular#50046
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators May 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: compiler Issues related to `ngc`, Angular's template compiler area: language-service Issues related to Angular's VS Code language service target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Language service crashes if there is an error during Typecheck block generation
3 participants