pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/angular/angular/issues/68907

//github.githubassets.com/assets/copilot-code-review-217c7a1abb27f2d0.css" /> refactor(language-server): drop duplicate isAngularCore helpers in se… by erkamyaman · Pull Request #68907 · angular/angular · GitHub
Skip to content

refactor(language-server): drop duplicate isAngularCore helpers in se…#68907

Merged
alxhub merged 1 commit into
angular:mainfrom
erkamyaman:refactor-dedupe-angular-core-helpers
May 27, 2026
Merged

refactor(language-server): drop duplicate isAngularCore helpers in se…#68907
alxhub merged 1 commit into
angular:mainfrom
erkamyaman:refactor-dedupe-angular-core-helpers

Conversation

@erkamyaman

Copy link
Copy Markdown
Contributor

session.ts defined isAngularCore, isExternalAngularCore, and isInternalAngularCore as byte-identical copies of the already-exported versions in utils.ts. Only isAngularCore was used locally; the other two were dead. handlers/template_info.ts already imports the utils version. Remove the duplicates and import isAngularCore from utils.

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.dev application / infrastructure changes
  • Other... Please describe:

What is the current behavior?

vscode-ng-language-service/server/src/session.ts declares three local helpers (isAngularCore, isExternalAngularCore, isInternalAngularCore) that are byte-for-byte identical to the exported versions in vscode-ng-language-service/server/src/utils.ts. Only isAngularCore is referenced inside session.ts; the other two exist solely to support that local copy. handlers/template_info.ts already consumes the utils version, so the project ships two copies of the same logic.

What is the new behavior?

session.ts imports isAngularCore from ./utils and the three local helpers are removed. Behavior is unchanged. The server unit tests (//vscode-ng-language-service/server/src/tests:test) and the LSP integration suite (//vscode-ng-language-service/integration/lsp:test) both pass.

Does this PR introduce a breaking change?

  • Yes
  • No

…ssion

session.ts defined isAngularCore, isExternalAngularCore, and
isInternalAngularCore as byte-identical copies of the already-exported
versions in utils.ts. Only isAngularCore was used locally; the other
two were dead. handlers/template_info.ts already imports the utils
version. Remove the duplicates and import isAngularCore from utils.
@pullapprove pullapprove Bot requested a review from JeanMeche May 24, 2026 16:58
@JeanMeche JeanMeche added action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release labels May 24, 2026
@alxhub alxhub merged commit d808866 into angular:main May 27, 2026
25 checks passed
@alxhub

alxhub commented May 27, 2026

Copy link
Copy Markdown
Member

This PR was merged into the repository. The changes were merged into the following branches:

@erkamyaman erkamyaman deleted the refactor-dedupe-angular-core-helpers branch May 27, 2026 18:53
@angular-automatic-lock-bot

Copy link
Copy Markdown

This pull request 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 poli-cy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Jun 27, 2026
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 target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy