Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(178)

Unified Diff: src/pkg/go/parser/parser_test.go

Issue 3989056: code review 3989056: go/ast: reflect communication operator changes accurate... (Closed)
Patch Set: code review 3989056: go/ast: reflect communication operator changes accurate... Created 14 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/pkg/go/parser/parser.go ('k') | src/pkg/go/printer/nodes.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pkg/go/parser/parser_test.go
===================================================================
--- a/src/pkg/go/parser/parser_test.go
+++ b/src/pkg/go/parser/parser_test.go
@@ -46,6 +46,7 @@
`package main; type T []int; func g(int) bool { return true }; func f() { if g(T{42}[0]) {} };`,
`package main; type T []int; func f() { for _ = range []int{T{42}[0]} {} };`,
`package main; var a = T{{1, 2}, {3, 4}}`,
+ `package main; func f() { select { case <- c: case c <- d: case c <- <- d: case <-c <- d: } };`,
}
« no previous file with comments | « src/pkg/go/parser/parser.go ('k') | src/pkg/go/printer/nodes.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b