]> Cypherpunks repositories - gostls13.git/commitdiff
missing '}' (found by pretty)
authorRobert Griesemer <gri@golang.org>
Mon, 20 Apr 2009 22:23:21 +0000 (15:23 -0700)
committerRobert Griesemer <gri@golang.org>
Mon, 20 Apr 2009 22:23:21 +0000 (15:23 -0700)
R=r
DELTA=1  (1 added, 0 deleted, 0 changed)
OCL=27633
CL=27639

test/declbad.go

index 8115b2cf6ec4f2f90eaa4d50b743cfe1a88808ca..755450788ecd5a9c052537d9a0f35c898105267f 100644 (file)
@@ -17,6 +17,7 @@ func main() {
                // simple redeclaration
                i := f1();
                i := f1();      // ERROR "redeclared"
+       }
        {
                // change of type for f
                i, f, s := f3();