]> Cypherpunks repositories - gostls13.git/commitdiff
trailing comma's are not accepted with current syntax
authorRobert Griesemer <gri@golang.org>
Thu, 10 Dec 2009 21:14:44 +0000 (13:14 -0800)
committerRobert Griesemer <gri@golang.org>
Thu, 10 Dec 2009 21:14:44 +0000 (13:14 -0800)
R=rsc, ken2
https://golang.org/cl/174047

test/ken/chan1.go

index 0008e314b6905f1541ccbeae59294ec83acf37ac..d4c4f460f332071a47677c8cfda03f61ae1ab583 100644 (file)
@@ -22,8 +22,7 @@ r(c chan int, m int) {
                                panicln("r",
                                        "m=", m,
                                        "r=", r,
-                                       "h=", h[r],
-                               );
+                                       "h=", h[r]);
                        }
                        h[r] = 2;
                }