@@ -3723,16 +3723,17 @@ $(H2 $(LNAME2 nogc-functions, No-GC Functions))
3723
3723
)
3724
3724
3725
3725
$(OL
3726
- $(LI $(DDSUBLINK spec/expression, ArrayLiteral , constructing an array) on the heap)
3726
+ $(LI $(DDSUBLINK spec/expression, array-literal-heap , constructing an array) on the heap)
3727
3727
$(LI resizing an array by writing to its $(D .length) property)
3728
3728
$(LI $(DDSUBLINK spec/expression, CatExpression, array concatenation))
3729
3729
$(LI $(DDSUBLINK spec/expression, simple_assignment_expressions, array appending))
3730
3730
$(LI $(DDSUBLINK spec/expression, AssocArrayLiteral, constructing an associative array))
3731
3731
$(LI $(DDSUBLINK spec/expression, IndexOperation, indexing) an associative array
3732
- $(NOTE because it may throw $(D RangeError) if the specified key is not present))
3732
+ $(RATIONALE Indexing may throw a $(D RangeError) if the specified key is not present. ))
3733
3733
$(LI $(DDSUBLINK spec/expression, NewExpression, allocating an object with `new`) on the heap
3734
- $(NOTE `new` declarations of $(D class types) in function scopes are compatible with
3735
- $(D @nogc) if used for $(D scope) variables, as they result in allocations on the stack))
3734
+ $(NOTE `new` declarations of $(D class) types in function scopes are compatible with
3735
+ $(D @nogc) if used to initialize a $(DDSUBLINK spec/attribute, scope-class-var, $(D scope) variable),
3736
+ as they result in allocations on the stack.))
3736
3737
$(LI calling functions that are not `@nogc`, unless the call is
3737
3738
in a $(GLINK2 version, ConditionalStatement)
3738
3739
controlled by a $(GLINK2 version, DebugCondition))
0 commit comments