buildArrayBoundsError

Construct elem to run when an array bounds check fails.

extern (C++)
buildArrayBoundsError

Parameters

irs IRState*

to get function from

loc Loc

to get file/line from

lwr elem*

lower bound passed, if slice (array[lwr .. upr]). null otherwise.

upr elem*

upper bound passed if slice (array[lwr .. upr]), index if not a slice (arrayupr)

elength elem*

length of array

Return Value

Type: elem*

elem generated

Meta