1
0
mirror of https://github.com/golang/go synced 2024-11-05 19:56:11 -07:00
go/cmd/cover/testdata
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
..
main.go go.tools/cmd/cover: get cover counters on if conditions 2013-07-10 15:20:52 +10:00
test.go go.tools/cmd/cover: for range loops might contain function literals 2013-10-11 10:32:36 -07:00