MIXIN_WITH_NON_CLASS_SUPERCLASS constant

CompileTimeErrorCode const MIXIN_WITH_NON_CLASS_SUPERCLASS

9.1 Mixin Application: It is a compile-time error if S does not denote a class available in the immediately enclosing scope.

Implementation

static const CompileTimeErrorCode MIXIN_WITH_NON_CLASS_SUPERCLASS =
    CompileTimeErrorCode('MIXIN_WITH_NON_CLASS_SUPERCLASS',
        "Mixin can only be applied to class.")