Skip to content

Track late bound names in declaration parameter binding patterns#26336

Merged
weswigham merged 1 commit into
microsoft:masterfrom
weswigham:visit-computed-name-for-references
Aug 17, 2018
Merged

Track late bound names in declaration parameter binding patterns#26336
weswigham merged 1 commit into
microsoft:masterfrom
weswigham:visit-computed-name-for-references

Conversation

@weswigham
Copy link
Copy Markdown
Member

Fixes #26185

Comment thread src/compiler/checker.ts
}

function trackComputedName(node: LateBoundName, enclosingDeclaration: Node | undefined, context: NodeBuilderContext) {
if (!context.tracker.trackSymbol) return;
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.

I think assert here is better to catch errors in calling this rather than this check.

@weswigham weswigham merged commit d433c6e into microsoft:master Aug 17, 2018
@weswigham weswigham deleted the visit-computed-name-for-references branch August 17, 2018 23:30
@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.

2 participants