From 3c25d832afe52982e1423023076e3caa6705d41f Mon Sep 17 00:00:00 2001
From: cui fliter int32
and int
are not the same type even though they may have the same size on a
particular architecture.
-
+
nil
maps.
A nil
map is equivalent to an empty map except that no elements
may be added.
+
++
and --
operators form
statements, not expressions, they fall
outside the operator hierarchy.
As a consequence, statement *p++
is the same as (*p)++
.
+
+
There are five precedence levels for binary operators.
Multiplication operators bind strongest, followed by addition
diff --git a/doc/go1.21.html b/doc/go1.21.html
index 5ecc07ddcf..45b037a204 100644
--- a/doc/go1.21.html
+++ b/doc/go1.21.html
@@ -484,6 +484,7 @@ Do not send CLs removing the interior tags from such phrases.
Context
values
for equality has never been well-defined, so this is not
considered to be an incompatible change.
+
- The new VersionName function
+ The new VersionName
function
returns the name for a TLS version number.
GOEXPERIMENT=cgocheck2
.
In particular this means that this mode has to be selected at build time instead of startup time.
+
+
GODEBUG=cgocheck=1
is still available (and is still the default).
int32
and int
are not the same type even though they may have the same size on a
particular architecture.
-
+
a
of type parameter type
that P
is instantiated with, and the type of a[x]
is
the type of the (identical) element types.a[x]
may not be assigned to if P
's type set
- includes string types.
+ includes string types.@@ -4639,7 +4639,7 @@ Type inference succeeds if no unification step fails and the map has an entry for each type parameter.
- +
For example, given the type equation with the bound type parameter
P
++
and --
operators form
statements, not expressions, they fall
outside the operator hierarchy.
As a consequence, statement *p++
is the same as (*p)++
.
+
There are five precedence levels for binary operators. Multiplication operators bind strongest, followed by addition -- 2.48.1