checkArrayLiteralEscape

Array literal is going to be allocated on the GC heap. Check its elements to see if any would escape by going on the heap.

bool
checkArrayLiteralEscape

Parameters

sc
Type: Scope*

used to determine current function and module

ae

array literal expression

gag
Type: bool

do not print error messages

Return Value

Type: bool

true if any elements escaped

Meta