1
0
mirror of https://github.com/golang/go synced 2024-11-18 10:04:43 -07:00

cmd/ssadump: fix typo that broke -run

Change-Id: I6cc618a3cf1036f4dffb2acad766d86c14d658cd
Reviewed-on: https://go-review.googlesource.com/32645
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Alan Donovan 2016-11-03 11:34:01 -04:00
parent f08d70c2ed
commit 4d145add37

View File

@ -161,7 +161,7 @@ func doMain() error {
}
} else {
// Otherwise, run the main packages.
mains := ssautil.MainPackages(initpkgs)
mains = ssautil.MainPackages(initpkgs)
if len(mains) == 0 {
return fmt.Errorf("no main package")
}