IMPLEMENTS_DEFERRED_CLASS constant

CompileTimeErrorCode const IMPLEMENTS_DEFERRED_CLASS

7.10 Superinterfaces: It is a compile-time error if the implements clause of a class C specifies a malformed type or deferred type as a superinterface.

See EXTENDS_DEFERRED_CLASS, and MIXIN_DEFERRED_CLASS.

Implementation

static const CompileTimeErrorCode IMPLEMENTS_DEFERRED_CLASS =
    CompileTimeErrorCode('IMPLEMENTS_DEFERRED_CLASS',
        "Classes and mixins can't implement deferred classes.",
        correction: "Try specifying a different interface, "
            "removing the class from the list, or "
            "changing the import to not be deferred.")