aboutsummaryrefslogtreecommitdiff
path: root/test/method3.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-03-03 08:39:12 -0800
committerRuss Cox <rsc@golang.org>2009-03-03 08:39:12 -0800
commitbe2edb57614dd5a92294b7d29a34de754998fde5 (patch)
tree028f4f1a5f6b78795c1a1ef840b49c7da342edd1 /test/method3.go
parente8b43190bbec4b3b445739c216a0f4e023a9442f (diff)
downloadgo-be2edb57614dd5a92294b7d29a34de754998fde5.tar.gz
go-be2edb57614dd5a92294b7d29a34de754998fde5.zip
Automated g4 rollback of changelist 25024,
plus significant hand editing. Back to T{x} for composite literals. R=r OCL=25612 CL=25632
Diffstat (limited to 'test/method3.go')
-rw-r--r--test/method3.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/method3.go b/test/method3.go
index 5191c7f1cb..491bcdad33 100644
--- a/test/method3.go
+++ b/test/method3.go
@@ -16,7 +16,7 @@ type I interface {
}
func main() {
- var t T = T(0,1,2,3,4);
+ var t T = T{0,1,2,3,4};
var i I;
i = t;
if i.Len() != 5 {