TYPE_ALIAS_CANNOT_REFERENCE_ITSELF constant

CompileTimeErrorCode const TYPE_ALIAS_CANNOT_REFERENCE_ITSELF

15.3.1 Typedef: Any self reference, either directly, or recursively via another typedef, is a compile time error.

Implementation

static const CompileTimeErrorCode TYPE_ALIAS_CANNOT_REFERENCE_ITSELF =
    CompileTimeErrorCode(
        'TYPE_ALIAS_CANNOT_REFERENCE_ITSELF',
        "Typedefs can't reference themselves directly or recursively via "
            "another typedef.")