diff --git a/doc/go_spec.html b/doc/go_spec.html index 95bf7d30f8b..e59b3554f28 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1,6 +1,6 @@ @@ -4953,9 +4953,9 @@ ExprSwitchCase = "case" ExpressionList | "default" .

If the switch expression evaluates to an untyped constant, it is first implicitly -converted to its default type; -if it is an untyped boolean value, it is first implicitly converted to type bool. +converted to its default type. The predeclared untyped value nil cannot be used as a switch expression. +The switch expression type must be comparable.