google / shipshape

Program analysis platform
Apache License 2.0
271 stars 35 forks source link

go vet issue #41

Open amshali opened 9 years ago

amshali commented 9 years ago

running on a go file I get this:

WARNING: Analyzer go vet failed to run: go vet gave incorrectly formatted issue: "can't load package: "

collinw commented 9 years ago

Can you give more information about how you're running Shipshape and what kind of code you're running it over? We can definitely do a better job of surfacing the error.

amshali commented 9 years ago

Supply this go file and you'll see the error:

//////////////////// package foo

import ( "fmt" // notice the closed parenthesis missing

func f(x int) { }