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/api: mismatch types #7103

Closed
gopherbot opened this issue Jan 11, 2014 · 1 comment
Closed

cmd/api: mismatch types #7103

gopherbot opened this issue Jan 11, 2014 · 1 comment

Comments

@gopherbot
Copy link

by vbatts:

What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.
1. cd src/cmd/api
2. go build -tags api_tool
3.

What is the expected output?
an 'api' binary

What do you see instead?
./goapi.go:627: invalid case ast.SEND in switch on typ.Dir() (mismatched types
ast.ChanDir and types.ChanDir)
./goapi.go:629: invalid case ast.RECV in switch on typ.Dir() (mismatched types
ast.ChanDir and types.ChanDir)

Which compiler are you using (5g, 6g, 8g, gccgo)?
6g

Which operating system are you using?
linux

Which version are you using?  (run 'go version')
go version devel +9e5ec71fa488 Fri Jan 10 01:33:24 2014 +0100 linux/amd64

Please provide any additional information below.

Attachments:

  1. cmd-api_types.patch (384 bytes)
@minux
Copy link
Member

minux commented Jan 11, 2014

Comment 1:

please see https://golang.org/cl/50160043/.

Status changed to WontFix.

@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

2 participants