1
0
mirror of https://github.com/golang/go synced 2024-11-18 14:04:45 -07:00
go/cmd/cover
Rob Pike e4256a40f4 go.tools/cmd/cover: for range loops might contain function literals
Break the basic block at the function literal. The code to do this analysis
was already there; this CL just factors it out more nicely and uses it in
one new place. Also adds a test.

Fixes golang/go#6555.

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/14601043
2013-10-11 10:32:36 -07:00
..
testdata go.tools/cmd/cover: for range loops might contain function literals 2013-10-11 10:32:36 -07:00
cover_test.go go.tools/cmd/cover: fix build 2013-06-21 14:47:04 -07:00
cover.go go.tools/cmd/cover: for range loops might contain function literals 2013-10-11 10:32:36 -07:00
doc.go go.tools/cmd/cover: move docs to separate doc.go 2013-10-11 09:13:58 +09:00
func.go go.tools/cmd/cover: sort the file names in the output presentation 2013-10-03 16:37:34 -07:00
html.go go.tools/cmd/cover: sort the file names in the output presentation 2013-10-03 16:37:34 -07:00
profile.go go.tools/cmd/cover: sort the file names in the output presentation 2013-10-03 16:37:34 -07:00