Skip to content
This repository has been archived by the owner on Sep 1, 2018. It is now read-only.

Panics on github.com/tucnak/kamu #7

Closed
tucnak opened this issue Dec 22, 2015 · 2 comments
Closed

Panics on github.com/tucnak/kamu #7

tucnak opened this issue Dec 22, 2015 · 2 comments

Comments

@tucnak
Copy link

tucnak commented Dec 22, 2015

$ go version
go version go1.5 darwin/amd64
$ interfacer ./...
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x7f241]

goroutine 1 [running]:
github.com/mvdan/interfacer.orderedPkgs(0x82050a840, 0x0, 0x0, 0x0, 0x0, 0x0)
    /Users/tucnak/Development/gopher/src/github.com/mvdan/interfacer/check.go:105 +0x321
github.com/mvdan/interfacer.CheckArgs(0x820508030, 0x1, 0x1, 0x88206906c8, 0x82051e008, 0x0, 0x0, 0x0)
    /Users/tucnak/Development/gopher/src/github.com/mvdan/interfacer/check.go:123 +0x1c8
main.main()
    /Users/tucnak/Development/gopher/src/github.com/mvdan/interfacer/cmd/interfacer/main.go:20 +0xa4
@tucnak tucnak changed the title Panics on a Panics on github.com/tucnak/kamu Dec 22, 2015
@mvdan
Copy link
Owner

mvdan commented Dec 22, 2015

I spotted this roughly an hour ago after updating my go/loader and fixed it in 6384c3c. So if you pull and rebuild, it should work for you.

@mvdan
Copy link
Owner

mvdan commented Dec 23, 2015

For all of you coming from duplicate issues: make sure you have the latest interfacer and the latest golang.org/x/tools:

go get -u -v github.com/mvdan/interfacer

@mvdan mvdan mentioned this issue Dec 23, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants