go/parser: add {map,chan,interface} to expression lookahead tokens
+ tests that these parse: map[int]int{}[0]++ interface{f()}(x).f() chan int(x) <- 0 Fixes #9474 Change-Id: If9fa57b3ab415ae7e93aa9935ec63edda8fe9d4f Reviewed-on: https://go-review.googlesource.com/2178Reviewed-by: Robert Griesemer <gri@golang.org>
Showing
Please register or sign in to comment