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

Merge JSDoc of assignments from function expressions #9010

Merged
merged 4 commits into from
Jun 8, 2016

Conversation

sandersn
Copy link
Member

@sandersn sandersn commented Jun 7, 2016

Fixes #7586

@RyanCavanaugh I'm not sure this is the correct direction for this fix. Can you take a look?

//// return s.length;
////}
////assig/*34*/ned/*35*/(/*36*/"hey");

Copy link
Member

Choose a reason for hiding this comment

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

Can you move this into a separate file? These tests are specific enough and it would lend well to pinpointing future issues if they start failing.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll see if I can break it up even more.

Copy link
Member Author

Choose a reason for hiding this comment

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

done. I split it in half -- one for testing function declarations and one for function expressions. There's still a lot of redundancy in there, but testing => vs function might someday expose a bug. I guess.

@RyanCavanaugh
Copy link
Member

Looks good

@sandersn sandersn merged commit 179d423 into master Jun 8, 2016
@sandersn sandersn deleted the merge-jsdoc-of-assignment-and-function-expression branch June 8, 2016 20:03
@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.

IntelliSense / JSDoc - function declaration not same as function expression
4 participants