MIXIN_DEFERRED_CLASS constant

CompileTimeErrorCode const MIXIN_DEFERRED_CLASS

9.1 Mixin Application: It is a compile-time error if the with clause of a mixin application C includes a deferred type expression.

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

See EXTENDS_DEFERRED_CLASS, and IMPLEMENTS_DEFERRED_CLASS.

Implementation

static const CompileTimeErrorCode MIXIN_DEFERRED_CLASS = CompileTimeErrorCode(
    'MIXIN_DEFERRED_CLASS', "Classes can't mixin deferred classes.",
    correction: "Try changing the import to not be deferred.")