From bdec330c85dd28682e1979bde5de50348d6bda64 Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Mon, 31 Aug 2009 17:57:14 -0700 Subject: [PATCH] remove leftover forward-decl syntax and example (per feedback from Austin) R=rsc DELTA=7 (0 added, 2 deleted, 5 changed) OCL=34158 CL=34161 --- doc/go_spec.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/doc/go_spec.html b/doc/go_spec.html index 9eebc7a258..cc37512a74 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1503,19 +1503,17 @@ to a new type. TODO: what exactly is a "new type"?
 TypeDecl     = "type" ( TypeSpec | "(" [ TypeSpecList ] ")" ) .
 TypeSpecList = TypeSpec { ";" TypeSpec } [ ";" ] .
-TypeSpec     = identifier ( Type | "struct" | "interface" ) .
+TypeSpec     = identifier Type .
 
-type IntArray [16] int
+type IntArray [16]int
 
 type (
 	Point struct { x, y float };
 	Polar Point
 )
 
-type Comparable interface
-
 type TreeNode struct {
 	left, right *TreeNode;
 	value *Comparable;
-- 
2.48.1