Skip to content
This repository was archived by the owner on Aug 4, 2021. It is now read-only.
This repository was archived by the owner on Aug 4, 2021. It is now read-only.

extractNames does not work with ObjectPattern with literal keys #25

@edoardocavazza

Description

@edoardocavazza

Considering the following code + ast:
https://astexplorer.net/#/gist/50d172abc6232f17f60062d6b0843931/33a342acb905c6280f642572907df3c59a97c231

the extractNames function will call for the node the ObjectPattern extractor, which will try to call Identifier and Literal, which is missing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions