We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm on the latest godef:
godef
$ cd gocode/src/github.com/rogpeppe/ $ git log --oneline | head -n1 b692db1 Merge pull request #70 from uudashr/fix-indentation
installed with go 1.10 linux/amd64. godef crashes when querying the go/test/run.go file in the go repository, at tip:
go 1.10 linux/amd64
go/test/run.go
$ cd go $ git log --oneline | head -n1 3b0b8bcd68 test/codegen: port stack-related tests to codegen $ cd test/ $ godef -f run.go baseGoFile panic: no object for _(0xc4205d89e0) goroutine 1 [running]: github.com/rogpeppe/godef/go/parser.(*parser).parseSwitchStmt(0xc42044de40, 0x0, 0x0) /home/adonizetti/gocode/src/github.com/rogpeppe/godef/go/parser/parser.go:1707 +0x8f5 github.com/rogpeppe/godef/go/parser.(*parser).parseStmt(0xc42044de40, 0x0, 0x0) /home/adonizetti/gocode/src/github.com/rogpeppe/godef/go/parser/parser.go:1922 +0x467 github.com/rogpeppe/godef/go/parser.(*parser).parseStmtList(0xc42044de40, 0xc42026c500, 0x5, 0x8) /home/adonizetti/gocode/src/github.com/rogpeppe/godef/go/parser/parser.go:977 +0x85 github.com/rogpeppe/godef/go/parser.(*parser).parseBody(0xc42044de40, 0xc42018c5c0, 0x0) /home/adonizetti/gocode/src/github.com/rogpeppe/godef/go/parser/parser.go:991 +0xb4 github.com/rogpeppe/godef/go/parser.(*parser).parseFuncDecl(0xc42044de40, 0x0) /home/adonizetti/gocode/src/github.com/rogpeppe/godef/go/parser/parser.go:2147 +0x311 github.com/rogpeppe/godef/go/parser.(*parser).parseDecl(0xc42044de40, 0x0, 0x0) /home/adonizetti/gocode/src/github.com/rogpeppe/godef/go/parser/parser.go:2182 +0x132 github.com/rogpeppe/godef/go/parser.(*parser).parseFile(0xc42044de40, 0x0) /home/adonizetti/gocode/src/github.com/rogpeppe/godef/go/parser/parser.go:2246 +0x237 github.com/rogpeppe/godef/go/parser.ParseFile(0xc420098340, 0xc4204b7730, 0xe, 0x0, 0x0, 0x0, 0xc4200865c0, 0x651050, 0xc420451100, 0x0, ...) /home/adonizetti/gocode/src/github.com/rogpeppe/godef/go/parser/interface.go:155 +0x190 main.parseLocalPackage(0x7ffec70704d3, 0x6, 0xc420437180, 0xc4200865c0, 0x651050, 0x0, 0x0, 0x0) /home/adonizetti/gocode/src/github.com/rogpeppe/godef/godef.go:329 +0x3ca main.main() /home/adonizetti/gocode/src/github.com/rogpeppe/godef/godef.go:113 +0x3a4
This does not happen if the run.go file is copied elsewhere and then queried.
run.go
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm on the latest
godef
:installed with
go 1.10 linux/amd64
.godef
crashes when querying thego/test/run.go
file in the go repository, at tip:This does not happen if the
run.go
file is copied elsewhere and then queried.The text was updated successfully, but these errors were encountered: