You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want goruby to produce an AST I can walk, but it's encountering errors with files rake accepts.
go run main.go -e "d w{}.o, w{}.o"
What did you expect to see?
If it parsed, I'd expect complaints of undefined variables or methods, such as
undefined local variable or method `p' for main:Object
What did you see instead?
syntax error, Parsing errors:
could not parse call expression: expected identifier, got token 'ast.ExpressionList'
1:12: no prefix parse function for type . found
exit status 1
When I hit the error in issue #53, I didn't see an easy fix, so I started pre-processing the ruby to remove newlines following commas. That led me to this error.
The text was updated successfully, but these errors were encountered:
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version go1.10.3 linux/amd64
What operating system and processor architecture are you using (
go env
)?linux / amd64
What version of GoRuby are you using (git show -s --format=%H or goruby -version)?
ee5b727 (which is HEAD)
What did you do?
I want goruby to produce an AST I can walk, but it's encountering errors with files
rake
accepts.go run main.go -e "d w{}.o, w{}.o"
What did you expect to see?
If it parsed, I'd expect complaints of undefined variables or methods, such as
What did you see instead?
When I hit the error in issue #53, I didn't see an easy fix, so I started pre-processing the ruby to remove newlines following commas. That led me to this error.
The text was updated successfully, but these errors were encountered: