Skip to content

createProgram: don't use TypeChecker#26192

Merged
RyanCavanaugh merged 3 commits into
microsoft:masterfrom
ajafff:createprogram-nochecker
Sep 5, 2018
Merged

createProgram: don't use TypeChecker#26192
RyanCavanaugh merged 3 commits into
microsoft:masterfrom
ajafff:createprogram-nochecker

Conversation

@ajafff
Copy link
Copy Markdown
Contributor

@ajafff ajafff commented Aug 3, 2018

Avoids using the TypeChecker when trying to reuse the Program structure.
This allows SourceFiles contained in the old Program to be updated using ts.updateSourceFile

Fixes: #26166

Avoids using the TypeChecker when trying to reuse the Program structure.
This allows SourceFiles contained in the old Program to be updated using ts.updateSourceFile

Fixes: microsoft#26166
@sheetalkamat
Copy link
Copy Markdown
Member

Can you add test case that was failing before and passes now. Thanks

@RyanCavanaugh RyanCavanaugh merged commit d265fbf into microsoft:master Sep 5, 2018
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants