commit | 2f7ac42a3f83b78d97912ce1e86296b2af4f52b7 | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Fri Feb 02 11:44:01 2018 -0800 |
committer | Ian Lance Taylor <iant@golang.org> | Mon Feb 05 01:40:11 2018 +0000 |
tree | 7965ef1b9589f9fdbb36cd3883856b91ae997d58 | |
parent | 9057b8f71e6078f140938fe60be9aaa7d59a3a2b [diff] |
compiler: correct parse of parenthesized select case We used to mishandle `select { case (<-c): }` and friends. The test case for this is https://golang.org/cl/91657. Fixes golang/go#20923 Change-Id: I31a2afae3728f70fc7b788d7b9661579dcc401ce Reviewed-on: https://go-review.googlesource.com/91695 Reviewed-by: Than McIntosh <thanm@google.com>