MIXIN_OF_DISALLOWED_CLASS constant

CompileTimeErrorCode const MIXIN_OF_DISALLOWED_CLASS

12.2 Null: It is a compile-time error for a class to attempt to extend or implement Null.

12.3 Numbers: It is a compile-time error for a class to attempt to extend or implement int.

12.3 Numbers: It is a compile-time error for a class to attempt to extend or implement double.

12.3 Numbers: It is a compile-time error for any type other than the types int and double to attempt to extend or implement num.

12.4 Booleans: It is a compile-time error for a class to attempt to extend or implement bool.

12.5 Strings: It is a compile-time error for a class to attempt to extend or implement String.

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

See IMPLEMENTS_DISALLOWED_CLASS.

Implementation

static const CompileTimeErrorCode MIXIN_OF_DISALLOWED_CLASS =
    CompileTimeErrorCode(
        'MIXIN_OF_DISALLOWED_CLASS', "Classes can't mixin '{0}'.")