$ gotype fsevents.go
fsevents.go:208:13: invalid composite literal type invalid type
I saw one related issue about supporting cgo in cmd/vet.
https://code.google.com/p/go/issues/detail?id=4889
Personally, I'm not looking for that. I just would like to not have the error.
As cmd/stringer uses gotype under the hood, I also get this error there. The obvious workaround is to put the constants in a separate file that doesn't contain any C structs.
Nathan.
--
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.