Skip to content

Fix TypeError when JSDoc.tags is undefined #14373

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

Merged
merged 1 commit into from
Mar 1, 2017

Conversation

DLehenbauer
Copy link
Contributor

This fixes 'TypeError: Object is not iterable' errors in fourslash tests when the compiler is built with '--target=es2015'.

The errors occur because the preexisting code depends on the current '--target=es5' transformation of the spread into a call to .apply(), which is more permissive. (See issue see #14362 for more details.)

@msftclas
Copy link

msftclas commented Mar 1, 2017

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@mhegazy mhegazy merged commit 9796557 into microsoft:master Mar 1, 2017
@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.

3 participants