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

go/types: terminating statement lists must accept trailing empty statements #14537

Closed
griesemer opened this issue Feb 27, 2016 · 1 comment
Closed
Milestone

Comments

@griesemer
Copy link
Contributor

griesemer commented Feb 27, 2016

Per a (pending) spec change, the following code should be permitted:

package p
func f() int {
        return 3
        ; // <<< trailing empty statement
}

See #14422 for details.

@griesemer griesemer self-assigned this Feb 27, 2016
@bradfitz bradfitz added this to the Go1.7 milestone Apr 10, 2016
@gopherbot
Copy link

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

@golang golang locked and limited conversation to collaborators Apr 19, 2017
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

3 participants