-
Notifications
You must be signed in to change notification settings - Fork 26.6k
fix(language-service): disable update the @angular/core
module
#36783
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
Conversation
After the user edits the file `core.d.ts`, the symbol from the core module will be invalided, which only is created when init the language service. Then the language-service will crash.
11a69f8
to
42da9dc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing this. I tried to debug this issue, but I was not 100% certain that this is the root cause of the problem. Regardless, since the compiler loads symbols from @angular/core
at startup, I think it's reasonable that core.d.ts
remains immutable throughout the lifetime of the language service.
AFAIK, the param conversionMap is initialized here, and it's used to resolve the annotations. Correct me if I'm wrong.
|
) After the user edits the file `core.d.ts`, the symbol from the core module will be invalided, which only is created when init the language service. Then the language-service will crash. PR Close #36783
Fix typo and add test cases for angular#36783 PR closes angular/vscode-ng-language-service#713
Fix typo and add test cases for #36783 PR closes angular/vscode-ng-language-service#713 PR Close #36845
Fix typo and add test cases for #36783 PR closes angular/vscode-ng-language-service#713 PR Close #36845
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
After the user edits the file
core.d.ts
, the language-service will crash.fix: angular/vscode-ng-language-service#713
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information