Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed crash on goToDef when a shorthand property refers to an undefined entity #2415

Merged
merged 4 commits into from
Mar 19, 2015

Conversation

DanielRosenwasser
Copy link
Member

Fixes #2384.

@CyrusNajmabadi
Copy link
Contributor

👍

//// /*prop*/x
////}

goTo.marker("prop");
Copy link
Contributor

Choose a reason for hiding this comment

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

Should it go to the marker "def"? Shouldn't it just stay where it is

@yuit
Copy link
Contributor

yuit commented Mar 18, 2015

lgtm after you add a test cover for var.

@vladima
Copy link
Contributor

vladima commented Mar 18, 2015

👍

DanielRosenwasser added a commit that referenced this pull request Mar 19, 2015
Fixed crash on goToDef when a shorthand property refers to an undefined entity
@DanielRosenwasser DanielRosenwasser merged commit 3e7e9f4 into master Mar 19, 2015
@DanielRosenwasser DanielRosenwasser deleted the shorthandsOnNonExistentProperty branch March 19, 2015 01:31
@microsoft microsoft locked and limited conversation to collaborators Jun 18, 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.

Assert in dev mode with doing GotoDef on shorthand property
5 participants