]> Cypherpunks repositories - gostls13.git/commitdiff
Change old-style export declaration to new style export of
authorIan Lance Taylor <iant@golang.org>
Mon, 6 Oct 2008 20:12:03 +0000 (13:12 -0700)
committerIan Lance Taylor <iant@golang.org>
Mon, 6 Oct 2008 20:12:03 +0000 (13:12 -0700)
type definition.

R=r
DELTA=3  (0 added, 2 deleted, 1 changed)
OCL=16537
CL=16545

test/fixedbugs/bug026.go

index 05925ef3f092d1ccbe4c28da319b7f3bd43d0440..1d97c18ae571ed7e42538ed876ad1fc04ceac30b 100644 (file)
@@ -6,12 +6,10 @@
 
 package main
 
-export Vector;
-
 type Element interface {
 }
 
-type Vector struct {
+export type Vector struct {
 }
 
 func (v *Vector) Insert(i int, e Element) {