CONST_SET_ELEMENT_TYPE_IMPLEMENTS_EQUALS constant

CompileTimeErrorCode const CONST_SET_ELEMENT_TYPE_IMPLEMENTS_EQUALS

Parameters: 0: the type of the element

Implementation

static const CompileTimeErrorCode CONST_SET_ELEMENT_TYPE_IMPLEMENTS_EQUALS =
    CompileTimeErrorCode(
        'CONST_SET_ELEMENT_TYPE_IMPLEMENTS_EQUALS',
        "The constant set element type '{0}' can't override "
            "the == operator.",
        correction: "Try using a different value for the element, or "
            "removing the keyword 'const' from the set.")