EXTENDS_DEFERRED_CLASS constant

CompileTimeErrorCode const EXTENDS_DEFERRED_CLASS

7.9 Superclasses: It is a compile-time error if the extends clause of a class C includes a deferred type expression.

Parameters: 0: the name of the type that cannot be extended

See IMPLEMENTS_DEFERRED_CLASS, and MIXIN_DEFERRED_CLASS.

Implementation

static const CompileTimeErrorCode EXTENDS_DEFERRED_CLASS =
    CompileTimeErrorCode(
        'EXTENDS_DEFERRED_CLASS', "Classes can't extend deferred classes.",
        correction: "Try specifying a different superclass, or "
            "removing the extends clause.")