quasilyte / phpgrep

Syntax-aware grep for PHP code.
MIT License
236 stars 10 forks source link

matcher.go:432:8: undefined: expr.ParenExpr #34

Closed ostrolucky closed 4 years ago

ostrolucky commented 4 years ago

I can't seem to install your tool

➜ go get -v github.com/quasilyte/phpgrep/cmd/phpgrep
github.com/z7zmey/php-parser/walker
github.com/z7zmey/php-parser/position
github.com/cznic/golex/lex
github.com/z7zmey/php-parser/errors
github.com/z7zmey/php-parser/freefloating
github.com/z7zmey/php-parser/node
github.com/z7zmey/php-parser/scanner
github.com/z7zmey/php-parser/node/name
github.com/z7zmey/php-parser/node/expr/cast
github.com/z7zmey/php-parser/node/scalar
github.com/z7zmey/php-parser/node/expr/assign
github.com/z7zmey/php-parser/node/expr/binary
github.com/z7zmey/php-parser/node/expr
github.com/z7zmey/php-parser/node/stmt
github.com/z7zmey/php-parser/printer
github.com/z7zmey/php-parser/parser
github.com/z7zmey/php-parser/php7
github.com/quasilyte/phpgrep
# github.com/quasilyte/phpgrep
../go/src/github.com/quasilyte/phpgrep/matcher.go:432:8: undefined: expr.ParenExpr
../go/src/github.com/quasilyte/phpgrep/utils.go:122:4: undefined: expr.ParenExpr
➜
quasilyte commented 4 years ago

Sorry for the inconvenience. I've reverted a commit that caused that until I'll fix the dependencies issue. Your issue should be fixed now.

ostrolucky commented 4 years ago

works now 👍