CONST_INITIALIZED_WITH_NON_CONSTANT_VALUE constant

CompileTimeErrorCode const CONST_INITIALIZED_WITH_NON_CONSTANT_VALUE

No parameters.

Implementation

static const CompileTimeErrorCode CONST_INITIALIZED_WITH_NON_CONSTANT_VALUE =
    CompileTimeErrorCode('CONST_INITIALIZED_WITH_NON_CONSTANT_VALUE',
        "Const variables must be initialized with a constant value.",
        correction:
            "Try changing the initializer to be a constant expression.",
        hasPublishedDocs: true)