From 0b4de7aa8a58e61c5cdee7f2d06e018b77efc84a Mon Sep 17 00:00:00 2001
From: Rob Pike Composite literals
@@ -2223,9 +2225,11 @@ p.M0 // ((*p).T0).M0
+
Indexes
@@ -2811,7 +2815,7 @@ that is, either a variable, pointer indirection, array or slice indexing
operation,
or a field selector of an addressable struct operand.
A function result variable is not addressable.
-(TODO: remove this restriction.)
+
Given an operand of pointer type, the pointer indirection
operator *
retrieves the value pointed
to by the operand.
@@ -2912,10 +2916,12 @@ to false
and x
is set to the
zero value for its type (§The zero value).
is erroneous because the jump to label L
skips
the creation of v
.
+