Report a `cursor` bug
bingbig opened this issue · 4 comments
bingbig commented
eatonphil commented
Hey! Could you include the full program you ran and the stacktrace?
bingbig commented
$ go run cmd/libraryexample/main.go
panic: Failed to parse, expected statement
goroutine 1 [running]:
main.main()
/Users/liub/golang/gosql/cmd/libraryexample/main.go:17 +0x742
exit status 2
eatonphil commented
Gotcha, you were right. The extra cursor update on line 413 causes multiple statements to be parsed incorrectly. Fixed in b1e42e0.
eatonphil commented
Thank you!