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

grasp-squery fails when used with acorn-object-spread #5

Open
vidoss opened this issue May 3, 2017 · 2 comments
Open

grasp-squery fails when used with acorn-object-spread #5

vidoss opened this issue May 3, 2017 · 2 comments

Comments

@vidoss
Copy link

vidoss commented May 3, 2017

grasp-squery fails when used with acorn-object-spread.

TypeError: Cannot read property 'start' of undefined
    at node_modules/grasp-squery/lib/common.js:17:40
    at visitPre (node_modules/grasp-squery/lib/common.js:36:5)
    at visitPre (node_modules/grasp-squery/lib/common.js:49:9)
    at visitPre (node_modules/grasp-squery/lib/common.js:59:11)
    at visitPre (node_modules/grasp-squery/lib/common.js:59:11)
    at new Cache (node_modules/grasp-squery/lib/common.js:10:5)
    at Object.queryParsed (node_modules/grasp-squery/lib/index.js:9:64)
    at search (node_modules/grasp/lib/index.js:216:29)
    at run (node_modules/grasp/lib/index.js:397:7)

Code to reproduce attached.
squery_fail.txt

@junyo
Copy link

junyo commented Dec 12, 2017

+1

1 similar comment
@adros
Copy link

adros commented Jan 3, 2018

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants