MIXIN_DECLARES_CONSTRUCTOR constant

CompileTimeErrorCode const MIXIN_DECLARES_CONSTRUCTOR

The mixinMember production allows the same instance or static members that a class would allow, but no constructors (for now).

Implementation

static const CompileTimeErrorCode MIXIN_DECLARES_CONSTRUCTOR =
    CompileTimeErrorCode(
        'MIXIN_DECLARES_CONSTRUCTOR', "Mixins can't declare constructors.")