Closed cep21 closed 8 years ago
It's common in go to validate a type satisifies an interface with something like var _ io.Writer = &MyWriter{}, however deadcode detects this. Deadcode should not message on _ assigned global variables.
var _ io.Writer = &MyWriter{}
_
Awesome. Fixed!
oops not merged :/
ping, can we get the fix merged?
+1, would appreciate a release with this fix incorporated, thanks...
ping?
It's common in go to validate a type satisifies an interface with something like
var _ io.Writer = &MyWriter{}
, however deadcode detects this. Deadcode should not message on_
assigned global variables.