You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ianlancetaylor
changed the title
A global lambda with a function named glob with lambda in it is an error
cmd/compile: a global lambda with a function named glob with lambda in it is an error
Jun 27, 2016
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version go1.6.2 linux/amd64
What operating system and processor architecture are you using (
go env
)?GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH=""
GORACE=""
GOROOT="/usr/lib/go-1.6"
GOTOOLDIR="/usr/lib/go-1.6/pkg/tool/linux_amd64"
GO15VENDOREXPERIMENT="1"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0"
CXX="g++"
CGO_ENABLED="1"
What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
Defined a global anonymous function and a function called
glob
that uses an anonymous function internally.https://play.golang.org/p/ZofsJuBk7s
What did you expect to see?
No error.
What did you see instead?
The text was updated successfully, but these errors were encountered: