Skip to content

go.tools/go/types: type strings don't represent channel types correctly #6771

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

Closed
griesemer opened this issue Nov 15, 2013 · 2 comments
Closed

Comments

@griesemer
Copy link
Contributor

$ echo "package p; var x chan (<-chan int) = 0" | gotype
<standard input>:1:38: cannot convert 0 (untyped integer constant) to chan
<-chan int

The error message should print the type of x as: chan (<-chan int) .
@griesemer
Copy link
Contributor Author

Comment 1:

Fixed with revision be18ff7664f7.

Status changed to Fixed.

@griesemer
Copy link
Contributor Author

@griesemer griesemer self-assigned this Nov 19, 2013
@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