Skip to content

In project, instead of iterating over program files to determine if file needs to be detached, do it through existing mechanism of releasing oldSourceFile - #59181

Merged
Sheetal Nandi (sheetalkamat) merged 1 commit into
mainfrom
releaseRefactor
Jul 8, 2024

Conversation

@sheetalkamat

@sheetalkamatSheetal Nandi (sheetalkamat) commented Jul 8, 2024

Copy link
Copy Markdown
Member

Another refactor found as part of working on #55968

… be detached, do it though existing mechanism of releasing oldSourceFile
Comment threadsrc/server/project.ts
/** @internal */
onReleaseOldSourceFile(
oldSourceFile: SourceFile,
_oldOptions: CompilerOptions,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is this parameter intentionally unused?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

yeah its used in services and is API so its unused here

@sheetalkamat
Sheetal Nandi (sheetalkamat) deleted the releaseRefactor branch July 8, 2024 20:37
@microsoftMicrosoft (microsoft) locked as resolved and limited conversation to collaborators Oct 16, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: TeamFor Uncommitted BugPR for untriaged, rejected, closed or missing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@sheetalkamat@jakebailey@sandersn@typescript-bot