CONST_CONSTRUCTOR_FIELD_TYPE_MISMATCH constant

CheckedModeCompileTimeErrorCode const CONST_CONSTRUCTOR_FIELD_TYPE_MISMATCH

16.12.2 Const: It is a compile-time error if evaluation of a constant object results in an uncaught exception being thrown.

Implementation

CONST_CONSTRUCTOR_FIELD_TYPE_MISMATCH = CheckedModeCompileTimeErrorCode(
    'CONST_CONSTRUCTOR_FIELD_TYPE_MISMATCH',
    "A value of type '{0}' can't be assigned to the field '{1}', which "
        "has type '{2}'.")