-
Notifications
You must be signed in to change notification settings - Fork 17.3k
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
godoc parse error, but code compiles #530
Labels
Comments
I think you have an old godoc lying around. I'm not sure what you mean by chokes, but I added this as a new file go/src/pkg/utf8/x.go: package utf8 var T = &S{ x: 5, y: 6, } and then when I run godoc utf8 T: PACKAGE package utf8 import "utf8" VARIABLES var T = &S{ x: 5, y: 6, } Owner changed to r...@golang.org. Status changed to WaitingForReply. |
Reproduced. ; cat x.go package main type S struct { x, y int c <-chan int } func main() { s := &S{ x: 5, y: 7, c: (<-chan int)(make(chan int)), } } ; gofmt x.go x.go:12:22: expected expression ; -> gri Labels changed: added packagebug. Owner changed to g...@golang.org. Status changed to Accepted. |
This issue was closed by revision 6d8829e. Status changed to Fixed. Merged into issue #-. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: