]> Cypherpunks repositories - gostls13.git/commitdiff
- added missing ';' according to new rules
authorRobert Griesemer <gri@golang.org>
Fri, 10 Oct 2008 23:18:01 +0000 (16:18 -0700)
committerRobert Griesemer <gri@golang.org>
Fri, 10 Oct 2008 23:18:01 +0000 (16:18 -0700)
(no effect on the test, but now parseable)

R=r
OCL=16936
CL=16936

test/bugs/bug107.go

index d08c440459b6ef01c8a26805df1c3364bd9c3ad8..80fa9664791e2854163f7611c6a2e469684fd368 100644 (file)
@@ -9,6 +9,6 @@ import os "os"
 func f() (os int) {
      // In the next line "os" should refer to the result variable, not
      // to the package.
-     v := os.Open("", 0, 0)    // ERROR "undefined"
+     v := os.Open("", 0, 0);   // ERROR "undefined"
      return 0
 }