Skip to content

Disallow nested object param syntax in callback tag#24392

Merged
sandersn merged 2 commits into
masterfrom
js/disallow-nested-object-param-in-callback
May 24, 2018
Merged

Disallow nested object param syntax in callback tag#24392
sandersn merged 2 commits into
masterfrom
js/disallow-nested-object-param-in-callback

Conversation

@sandersn
Copy link
Copy Markdown
Member

Previously this caused a crash in parsing. If/when we want to support this syntax, we will need to fix this crash. For now, it's enough to skip the code path and continue parsing in a non-nested fashion.

Fixes #24389

sandersn added 2 commits May 24, 2018 14:46
Previously this caused a crash in parsing. If/when we want to support
this syntax, we will need to fix this crash.
@sandersn sandersn requested a review from mhegazy May 24, 2018 22:00
@mhegazy
Copy link
Copy Markdown
Contributor

mhegazy commented May 24, 2018

Please port to release-2.9 as well.

@sandersn sandersn merged commit e250942 into master May 24, 2018
sandersn added a commit that referenced this pull request May 24, 2018
* Callback tag:Disallow nested-object-param syntax

Previously this caused a crash in parsing. If/when we want to support
this syntax, we will need to fix this crash.

* Update baselines
@sandersn
Copy link
Copy Markdown
Member Author

OK, it's it 2.9 now as well.

@microsoft microsoft locked and limited conversation to collaborators Jul 31, 2018
@sandersn sandersn deleted the js/disallow-nested-object-param-in-callback branch August 26, 2019 17:35
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.0.0-dev.20180522] TSC crashes on parsing jsdoc with error "Debug Failure. False expression" (in parseTag)

2 participants