-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Labels
area: commentsarea: flowoutdatedA closed issue/PR that is archived due to age. Recommended to make a new issueA closed issue/PR that is archived due to age. Recommended to make a new issuepkg: parser
Description
💻
- Would you like to work on a fix?
How are you using Babel?
Programmatic API (babel.transform, babel.parse)
Input code
const c = (data/*: /* this is an object *-/ Object */) => {};Configuration file name
No response
Configuration
{ "plugins": ["flow", "flowComments"] }Current and expected behavior
- The id in the type annotation is parsed to be
bjectinstead of expectedObject. - The nested comment isn't included in the AST.
Environment
Babel 7.18.0 (AST explorer), 7.19.3 (locally)
Possible solution
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
area: commentsarea: flowoutdatedA closed issue/PR that is archived due to age. Recommended to make a new issueA closed issue/PR that is archived due to age. Recommended to make a new issuepkg: parser