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

Comments

Projects
None yet
3 participants
@vidoss

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

This comment has been minimized.

Show comment
Hide comment
@junyo

junyo commented Dec 12, 2017

+1

@adros

This comment has been minimized.

Show comment
Hide comment
@adros

adros commented Jan 3, 2018

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment