1
0
mirror of https://github.com/golang/go synced 2024-11-18 16:44:43 -07:00
go/cmd/cover
Rob Pike 26365e4e90 cmd/cover: fix handling of empty type switch
Just missed a case (ha!) in the tree walk. Dup the code for an empty switch, add test.

Fixes #10163.

Change-Id: I3d50ab6cb450ca21e87213291eaab8cbe924fac5
Reviewed-on: https://go-review.googlesource.com/7641
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-03-16 22:10:38 +00:00
..
testdata cmd/cover: fix handling of empty type switch 2015-03-16 22:10:38 +00:00
cover_test.go go.tools/cmd/cover: fix build 2013-06-21 14:47:04 -07:00
cover.go cmd/cover: fix handling of empty type switch 2015-03-16 22:10:38 +00:00
doc.go tools: add import comments. 2014-12-09 22:42:16 +00:00
func.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
html.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00