defaultInit

Get the the default initialization expression for a type.

defaultInit
(,
const ref Loc loc
)

Parameters

mt Type

the type for which the init expression is returned

loc Loc

the location where the expression needs to be evaluated

Return Value

The initialization expression for the type.

Suggestion Box / Bug Report