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

refactor(language-service): [Ivy] remove temporary compiler #38310

Closed
wants to merge 1 commit into from

Conversation

kyliau
Copy link
Contributor

@kyliau kyliau commented Jul 31, 2020

Now that Ivy compiler has a proper TemplateTypeChecker interface
(see #38105) we no longer need to
keep the temporary compiler implementation.

The temporary compiler was created to enable testing infrastructure to
be developed for the Ivy language service.

This commit removes the whole ivy/compiler directory and moves two
functions createTypeCheckingProgramStrategy and
getOrCreateTypeCheckScriptInfo to the LanguageService class.

Also re-enable the Ivy LS test since it's no longer blocking development.

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • angular.io application / infrastructure changes
  • Other... Please describe:

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@kyliau kyliau added area: language-service Issues related to Angular's VS Code language service target: patch This PR is targeted for the next patch release labels Jul 31, 2020
@kyliau kyliau requested a review from ayazhafiz July 31, 2020 04:33
@ngbot ngbot bot added this to the needsTriage milestone Jul 31, 2020
@pullapprove pullapprove bot requested a review from gkalpak July 31, 2020 04:33
@kyliau kyliau force-pushed the ivy-ls-template-typechecker branch from 454d176 to a0b5e5e Compare July 31, 2020 04:35
@ayazhafiz
Copy link
Member

LGTM, +me after comments are resolved

Copy link
Contributor Author

@kyliau kyliau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ayazhafiz could you please take another look? Sorry I was OOO last week.

@kyliau kyliau force-pushed the ivy-ls-template-typechecker branch from a0b5e5e to 938a247 Compare August 14, 2020 23:18
@kyliau kyliau added the action: merge The PR is ready for merge by the caretaker label Aug 17, 2020
Copy link
Member

@gkalpak gkalpak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a typo in the commit message: [Ivy[ --> [Ivy]
Also, can you please add some info in the commit message (to give some context about the change).

Otherwise lgtm 👍

Reviewed-for: dev-infra

@gkalpak gkalpak added action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews and removed action: merge The PR is ready for merge by the caretaker labels Aug 17, 2020
@kyliau kyliau removed the action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews label Aug 17, 2020
@kyliau kyliau changed the title refactor(language-service): [Ivy[ remove temporary compiler refactor(language-service): [Ivy] remove temporary compiler Aug 17, 2020
Now that Ivy compiler has a proper `TemplateTypeChecker` interface
(see angular#38105) we no longer need to
keep the temporary compiler implementation.

The temporary compiler was created to enable testing infrastructure to
be developed for the Ivy language service.

This commit removes the whole `ivy/compiler` directory and moves two
functions `createTypeCheckingProgramStrategy` and
`getOrCreateTypeCheckScriptInfo` to the `LanguageService` class.

Also re-enable the Ivy LS test since it's no longer blocking development.
@kyliau kyliau force-pushed the ivy-ls-template-typechecker branch from 938a247 to 7bcd757 Compare August 17, 2020 17:19
@kyliau kyliau added the action: merge The PR is ready for merge by the caretaker label Aug 17, 2020
@atscott atscott closed this in cfe424e Aug 17, 2020
atscott pushed a commit that referenced this pull request Aug 17, 2020
Now that Ivy compiler has a proper `TemplateTypeChecker` interface
(see #38105) we no longer need to
keep the temporary compiler implementation.

The temporary compiler was created to enable testing infrastructure to
be developed for the Ivy language service.

This commit removes the whole `ivy/compiler` directory and moves two
functions `createTypeCheckingProgramStrategy` and
`getOrCreateTypeCheckScriptInfo` to the `LanguageService` class.

Also re-enable the Ivy LS test since it's no longer blocking development.

PR Close #38310
@kyliau kyliau deleted the ivy-ls-template-typechecker branch August 17, 2020 20:27
subratpalhar92 pushed a commit to SUBRATPALHAR-ALL-JAVASCRIPT/angular that referenced this pull request Aug 29, 2020
…38310)

Now that Ivy compiler has a proper `TemplateTypeChecker` interface
(see angular#38105) we no longer need to
keep the temporary compiler implementation.

The temporary compiler was created to enable testing infrastructure to
be developed for the Ivy language service.

This commit removes the whole `ivy/compiler` directory and moves two
functions `createTypeCheckingProgramStrategy` and
`getOrCreateTypeCheckScriptInfo` to the `LanguageService` class.

Also re-enable the Ivy LS test since it's no longer blocking development.

PR Close angular#38310
subratpalhar92 added a commit to SUBRATPALHAR-ALL-JAVASCRIPT/angular that referenced this pull request Aug 31, 2020
subratpalhar92 pushed a commit to SUBRATPALHAR-ALL-JAVASCRIPT/angular that referenced this pull request Aug 31, 2020
…38310)

Now that Ivy compiler has a proper `TemplateTypeChecker` interface
(see angular#38105) we no longer need to
keep the temporary compiler implementation.

The temporary compiler was created to enable testing infrastructure to
be developed for the Ivy language service.

This commit removes the whole `ivy/compiler` directory and moves two
functions `createTypeCheckingProgramStrategy` and
`getOrCreateTypeCheckScriptInfo` to the `LanguageService` class.

Also re-enable the Ivy LS test since it's no longer blocking development.

PR Close angular#38310
profanis pushed a commit to profanis/angular that referenced this pull request Sep 5, 2020
…38310)

Now that Ivy compiler has a proper `TemplateTypeChecker` interface
(see angular#38105) we no longer need to
keep the temporary compiler implementation.

The temporary compiler was created to enable testing infrastructure to
be developed for the Ivy language service.

This commit removes the whole `ivy/compiler` directory and moves two
functions `createTypeCheckingProgramStrategy` and
`getOrCreateTypeCheckScriptInfo` to the `LanguageService` class.

Also re-enable the Ivy LS test since it's no longer blocking development.

PR Close angular#38310
@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 Sep 17, 2020
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: language-service Issues related to Angular's VS Code language service cla: yes target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants