]> Cypherpunks repositories - gostls13.git/commitdiff
really fix it this time
authorRob Pike <r@golang.org>
Sun, 27 Jul 2008 20:32:33 +0000 (13:32 -0700)
committerRob Pike <r@golang.org>
Sun, 27 Jul 2008 20:32:33 +0000 (13:32 -0700)
R=ken
OCL=13506
CL=13506

test/bugs/bug057.go

index cb23961cab052ac86c4a7e552a5df797d10a4091..dd6df5c315c154a6614d0fed21dee878b8c46163 100644 (file)
@@ -15,7 +15,7 @@ func main() {
   s := "";
   l1 := len(s);
   var t T;
-  l2 := len(T.s);  // BUG: cannot take len() of a string field
+  l2 := len(t.s);  // BUG: cannot take len() of a string field
 }
 
 /*