Skip to content

Fix for #1735#1959

Merged
lukastaegert merged 1 commit intomasterfrom
property-error
Feb 15, 2018
Merged

Fix for #1735#1959
lukastaegert merged 1 commit intomasterfrom
property-error

Conversation

@guybedford
Copy link
Contributor

If only all bugs were this easy to fix...

Copy link
Member

@lukastaegert lukastaegert left a comment

Choose a reason for hiding this comment

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

👍

if (isExternalVariable(resolvedVariable)) {
resolvedVariable.module.suggestName(path[0].key);
if (resolvedVariable.module)
resolvedVariable.module.suggestName(path[0].key);
Copy link
Member

Choose a reason for hiding this comment

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

We could actually merge the innermost if-statements? 😉

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, included.

@lukastaegert lukastaegert added this to the 0.56.0 milestone Feb 12, 2018
@lukastaegert lukastaegert merged commit 0886188 into master Feb 15, 2018
@lukastaegert lukastaegert deleted the property-error branch February 15, 2018 07:44
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.

2 participants