1
0
mirror of https://github.com/golang/go synced 2024-11-25 10:17:57 -07:00

fix build: literal types cannot be parenthesized anymore

R=rsc
CC=golang-dev
https://golang.org/cl/1849055
This commit is contained in:
Robert Griesemer 2010-08-04 17:58:56 -07:00
parent e473f42b2d
commit ed8c23149f
3 changed files with 0 additions and 21 deletions

View File

@ -172,13 +172,6 @@ func _() {
_ = [...]T{} _ = [...]T{}
_ = []T{} _ = []T{}
_ = map[int]T{} _ = map[int]T{}
_ = (T){}
_ = (struct{}){}
_ = ([10]T){}
_ = ([...]T){}
_ = ([]T){}
_ = (map[int]T){}
} }

View File

@ -172,13 +172,6 @@ func _() {
_ = [...]T{} _ = [...]T{}
_ = []T{} _ = []T{}
_ = map[int]T{} _ = map[int]T{}
_ = (T){}
_ = (struct{}){}
_ = ([10]T){}
_ = ([...]T){}
_ = ([]T){}
_ = (map[int]T){}
} }

View File

@ -172,13 +172,6 @@ func _() {
_ = [...]T{} _ = [...]T{}
_ = []T{} _ = []T{}
_ = map[int]T{} _ = map[int]T{}
_ = (T){}
_ = (struct{}){}
_ = ([10]T){}
_ = ([...]T){}
_ = ([]T){}
_ = (map[int]T){}
} }