initializerSemantic

Perform semantic analysis on init.

extern (C++)
initializerSemantic

Parameters

init

Initializer AST node

sc
Type: Scope*

context

t
Type: Type

type that the initializer needs to become

needInterpret

if CTFE needs to be run on this, such as if it is the initializer for a const declaration

Return Value

Initializer with completed semantic analysis, ErrorInitializer if errors were encountered

Meta