summaryrefslogtreecommitdiff
path: root/src/pkg/json/struct_test.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-06-22 13:34:21 -0700
committerRuss Cox <rsc@golang.org>2009-06-22 13:34:21 -0700
commit56d87f8dea7ddc12a9f2a9f756943dbbeb072edb (patch)
tree37519e0b9c79e00a0aa998c67ed8ac35d9dabf1a /src/pkg/json/struct_test.go
parentbcee995c1b91bb489b9555213ef4254602bf920b (diff)
downloadgolang-56d87f8dea7ddc12a9f2a9f756943dbbeb072edb.tar.gz
changes required if we disallow the implicit *
in cap, len, [], and range on maps, strings, and slices. R=r DELTA=57 (2 added, 12 deleted, 43 changed) OCL=30549 CL=30590
Diffstat (limited to 'src/pkg/json/struct_test.go')
-rw-r--r--src/pkg/json/struct_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/json/struct_test.go b/src/pkg/json/struct_test.go
index 88d9e9ec4..193bfe139 100644
--- a/src/pkg/json/struct_test.go
+++ b/src/pkg/json/struct_test.go
@@ -26,7 +26,7 @@ type _MyStruct struct {
fl float;
fl32 float32;
fl64 float64;
- a *[]string; // TODO(rsc): Should be able to use []string.
+ a []string;
my *_MyStruct;
};