RECURSIVE_INTERFACE_INHERITANCE_WITH constant

CompileTimeErrorCode const RECURSIVE_INTERFACE_INHERITANCE_WITH

7.10 Superinterfaces: It is a compile-time error if the interface of a class C is a superinterface of itself.

8.1 Superinterfaces: It is a compile-time error if an interface is a superinterface of itself.

7.9 Superclasses: It is a compile-time error if a class C is a superclass of itself.

Parameters: 0: the name of the class that implements itself recursively

Implementation

static const CompileTimeErrorCode RECURSIVE_INTERFACE_INHERITANCE_WITH =
    CompileTimeErrorCode('RECURSIVE_INTERFACE_INHERITANCE_WITH',
        "'{0}' can't use itself as a mixin.")