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

Unified Diff: test/parentype.go

Issue 1913041: code review 1913041: go_spec: don't allow parens around the literal type of ... (Closed)
Patch Set: code review 1913041: go_spec: don't allow parens around the literal type of ... Created 14 years, 7 months 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 | « doc/go_spec.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/parentype.go
===================================================================
--- a/test/parentype.go
+++ b/test/parentype.go
@@ -11,9 +11,7 @@
func main() {
f(map[string]string{"a":"b","c":"d"});
f([...]int{1,2,3});
- f(([...]int){1,2,3});
- f((map[string]string){"a":"b","c":"d"});
- f((map[string]func()){"a":g,"c":g});
+ f(map[string]func(){"a":g,"c":g});
f(make(chan(<-chan int)));
f(make(chan<-(chan int)));
}
« no previous file with comments | « doc/go_spec.html ('k') | no next file » | no next file with comments »

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