Skip to content

Conversation

ghost
Copy link

@ghost ghost commented Jul 2, 2018

Fixes #25297


return createCombinedCodeActions(textChanges.ChangeTracker.with(context, changes => {
eachDiagnostic(context, errorCodes, diag => {
const checker = program.getTypeChecker();
Copy link
Contributor

Choose a reason for hiding this comment

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

u already cached checker before the lambda.

Copy link
Author

Choose a reason for hiding this comment

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

Maybe we should use no-shadowed-variable?

@mhegazy mhegazy merged commit 18d8ad1 into master Jul 2, 2018
@ghost ghost deleted the fixAddMissingMember_all_dedup branch July 2, 2018 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant