]> Cypherpunks repositories - gostls13.git/commit
cmd/go: fix run errors
authorRuss Cox <rsc@golang.org>
Wed, 7 Mar 2012 05:01:57 +0000 (00:01 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 7 Mar 2012 05:01:57 +0000 (00:01 -0500)
commit85ae6a18b5878a3fecd62ffc6887906e0c8c4d15
tree8ca30faac9faf1c2ce16442026132694caea8adc
parent47ee98253e88805f7ff46c4b010818e1ca4c7713
cmd/go: fix run errors

$ go run
go run: no go files listed
$ go run ../../pkg/math/bits.go
go run: cannot run non-main package
$

Fixes #3168.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5755064
src/cmd/go/run.go