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

Unexpected , in import produces unfriendly error ("syntax error near uint8") #522

Closed
gopherbot opened this issue Jan 12, 2010 · 1 comment

Comments

@gopherbot
Copy link

by kevin+google@sb.org:

What steps will reproduce the problem?
1. Insert a , after the first line in a compound import statement, e.g.

import (
    "fmt",
    "os"
)
2. Compile

What is the expected output? What do you see instead?
I expected something like

    foo.go:4: expected ';', found ','

Instead I got

    foo.go:4: syntax error near uint8

What is your $GOOS?  $GOARCH?
darwin/amd64

Which revision are you using?  (hg identify)
3887d4d81bca+ release.2010-01-05/release
@rsc
Copy link
Contributor

rsc commented Jan 27, 2010

Comment 1:

Fixed by http://code.google.com/p/go/source/detail?
r=7427b07b504271532d96c630d3dc37aef4d06c7d

Owner changed to r...@golang.org.

Status changed to Fixed.

@golang golang locked and limited conversation to collaborators Jun 24, 2016
@rsc rsc removed their assignment Jun 22, 2022
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