1
0
mirror of https://github.com/golang/go synced 2024-11-19 01:44:40 -07:00
go/cmd
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
..
cover go.tools/cmd/cover: for range loops might contain function literals 2013-10-11 10:32:36 -07:00
godoc go.tools/cmd/godoc: search go.tools/cmd for command docs 2013-10-11 10:36:50 +09:00
gotype go.tools/cmd/gotype: use go/types identifier resolution 2013-09-30 12:59:02 -07:00
html2article go.tools/cmd/html2article: move command from go.blog repository 2013-09-27 10:40:53 +10:00
oracle go.tools/oracle: change -mode argument into subcommand. 2013-09-25 14:34:39 -04:00
ssadump go.tools/importer: generalize command-line syntax. 2013-09-06 18:13:57 -04:00
vet go.tools/go/types: nil is not a constant + misc. cleanups 2013-10-09 14:17:25 -07:00