]> Cypherpunks repositories - gostls13.git/commit
go/types: accept trailing empty stmts in terminating stmt lists
authorRobert Griesemer <gri@golang.org>
Tue, 19 Apr 2016 18:27:52 +0000 (11:27 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 19 Apr 2016 20:36:35 +0000 (20:36 +0000)
commit562d398aef1378c781a3164f59f54dd1b0f4638f
tree87ba3d98016f23c60cd35be12769cbda5bad6afc
parent9b6bf20a35130b2b0754f2ec54370e207e2f2d9b
go/types: accept trailing empty stmts in terminating stmt lists

Per the latest spec refinement (https://golang.org/cl/19981).

Fixes #14537.

Change-Id: I2dedee942c4da21dc94bdeda466f133827ab5bb9
Reviewed-on: https://go-review.googlesource.com/22241
Run-TryBot: Robert Griesemer <gri@golang.org>
Reviewed-by: Alan Donovan <adonovan@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/go/types/return.go
src/go/types/testdata/stmt1.src