From: Robert Griesemer Date: Thu, 27 Aug 2009 23:44:17 +0000 (-0700) Subject: tweaks X-Git-Tag: weekly.2009-11-06~741 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=1f95f0d353b4d6d27eecbaa43a5976045b802877;p=gostls13.git tweaks R=r DELTA=2 (0 added, 0 deleted, 2 changed) OCL=33994 CL=33994 --- diff --git a/doc/go_spec.html b/doc/go_spec.html index 92776959c9..e10dd5f0cd 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -3283,7 +3283,7 @@ case x == 4: f3();

A type switch compares types rather than values. It is otherwise similar -to an expression switch. It is marked by a special switch expression which +to an expression switch. It is marked by a special switch expression that has the form of a type assertion using the reserved word type rather than an actual type. Cases then match literal types against the dynamic type of the expression @@ -3310,7 +3310,7 @@ in the TypeSwitchGuard. The type in a case may be nil (§Predeclared identifiers); that case is used when the expression in the TypeSwitchGuard -is a nil interface value. +is a nil interface value.

@@ -3366,7 +3366,7 @@ if v == nil {

The type switch guard may be preceded by a simple statement, which executes before the guard is evaluated. -

+

The "fallthrough" statement is not permitted in a type switch.