diff --git a/doc/go_spec.html b/doc/go_spec.html index 24cf361a978..9eebc7a2586 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1052,7 +1052,7 @@ binary operations.
Two named types are identical if their type names originate in the same -type declaration (§Declarations and Scope). A named and an unnamed type +type declaration (§Declarations and scope). A named and an unnamed type are never identical. Two unnamed types are identical if the corresponding type literals have the same literal structure and corresponding components have identical types. In detail: @@ -1258,11 +1258,11 @@ In addition to explicit blocks in the source code, there are implicit blocks:
-Blocks nest and influence scoping (§Declarations and Scope). +Blocks nest and influence scoping (§Declarations and scope).
-A declaration binds an identifier to a constant, type, variable, function, or package. @@ -1357,23 +1357,24 @@ Packages: unsafe +
-By default, identifiers are visible only within the package in which they are declared. -Some identifiers are exported and can be referenced using -qualified identifiers in other packages (§Qualified identifiers). -If an identifier satisfies these two conditions: +An identifier may be exported to permit access to it from another package +using a qualified identifier. An identifier +is exported if both:
-it will be exported. +All other identifiers are not exported.
+@@ -1748,9 +1749,9 @@ PackageName = identifier .
-A qualified identifier accesses an identifier in -a separate package. The identifier must be exported by that package, which -means that it must begin with a Unicode upper case letter (§Exported identifiers). +A qualified identifier accesses an identifier in a separate package. +The identifier must be exported by that +package, which means that it must begin with a Unicode upper case letter.
@@ -3013,7 +3014,7 @@ which may be omitted only if the previous statement:
+
The type switch guard may be preceded by a simple statement, which executes before the guard is evaluated.
@@ -4045,8 +4046,8 @@ An implementation may require that all source files for a package inhabit the sa-A source file gains access to exported identifiers (§Exported -identifiers) from another package through an import declaration. +A source file gains access to exported identifiers +from another package through an import declaration. In the general form, an import declaration provides an identifier that code in the source file may use to access the imported package's contents and a file name referring to the (compiled) implementation of