Skip to content

Don't show a builder for property names in object binding patterns#3698

Merged
DanielRosenwasser merged 3 commits into
masterfrom
noObjectBindingBuilder
Jul 6, 2015
Merged

Don't show a builder for property names in object binding patterns#3698
DanielRosenwasser merged 3 commits into
masterfrom
noObjectBindingBuilder

Conversation

@DanielRosenwasser
Copy link
Copy Markdown
Member

No description provided.

Comment thread src/services/services.ts Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you make this an else if on the destructuring syntaxkind, so reading this code it's obvious what's happening.

@DanielRosenwasser DanielRosenwasser force-pushed the noObjectBindingBuilder branch from e4cfca0 to 422a405 Compare July 1, 2015 20:36
Comment thread src/services/services.ts
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I would call this tryGetContextualPropertyNameOrNameInScope. If that's too long, it's because the function is trying to do too many unrelated things.

@JsonFreeman
Copy link
Copy Markdown
Contributor

👍

DanielRosenwasser added a commit that referenced this pull request Jul 6, 2015
Don't show a builder for property names in object binding patterns
@DanielRosenwasser DanielRosenwasser merged commit 204d960 into master Jul 6, 2015
@DanielRosenwasser DanielRosenwasser deleted the noObjectBindingBuilder branch July 6, 2015 23:37
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
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.

4 participants