CONST_WITH_UNDEFINED_CONSTRUCTOR_DEFAULT constant

CompileTimeErrorCode const CONST_WITH_UNDEFINED_CONSTRUCTOR_DEFAULT

16.12.2 Const: It is a compile-time error if T.id is not the name of a constant constructor declared by the type T.

Parameters: 0: the name of the type

Implementation

static const CompileTimeErrorCode CONST_WITH_UNDEFINED_CONSTRUCTOR_DEFAULT =
    CompileTimeErrorCode('CONST_WITH_UNDEFINED_CONSTRUCTOR_DEFAULT',
        "The class '{0}' doesn't have a default constant constructor.",
        correction: "Try calling a different constructor.")