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
Assignees
Milestone

Comments

@griesemer
Copy link
Contributor

@griesemer 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

@gopherbot gopherbot commented Apr 19, 2016

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

Loading

@gopherbot gopherbot closed this in 562d398 Apr 19, 2016
@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
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants