Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/gc: internal compiler error: walkexpr ORECV #8011

Closed
dvyukov opened this issue May 16, 2014 · 5 comments
Closed

cmd/gc: internal compiler error: walkexpr ORECV #8011

dvyukov opened this issue May 16, 2014 · 5 comments
Milestone

Comments

@dvyukov
Copy link
Member

dvyukov commented May 16, 2014

go version devel +c9bcacf2ba33 Wed May 14 19:24:00 2014 +0400 + linux/amd64

package main
func main() () {
    _ = <-<-make(chan chan int)
}

$ go build test.go
test.go:3: internal compiler error: walkexpr ORECV
@dvyukov
Copy link
Member Author

dvyukov commented May 16, 2014

Comment 1:

I expect to build successfully.

@ianlancetaylor
Copy link
Contributor

Comment 2:

Labels changed: added repo-main, release-go1.3maybe.

@davecheney
Copy link
Contributor

Comment 3:

Similar repro
package main
func main() {
    _ = <-(<-make(chan chan float64))
}
This is a Go 1.2 regression, this code compiles in the playground.

Labels changed: added release-go1.3, removed release-go1.3maybe.

@gopherbot
Copy link

Comment 4:

CL https://golang.org/cl/91540043 mentions this issue.

@rsc
Copy link
Contributor

rsc commented May 19, 2014

Comment 5:

This issue was closed by revision a663e0a.

Status changed to Fixed.

@rsc rsc added this to the Go1.3 milestone Apr 14, 2015
@rsc rsc removed the release-go1.3 label Apr 14, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants