RECURSIVE_INTERFACE_INHERITANCE constant

CompileTimeErrorCode const RECURSIVE_INTERFACE_INHERITANCE

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 1: a string representation of the implements loop

Implementation

static const CompileTimeErrorCode RECURSIVE_INTERFACE_INHERITANCE =
    CompileTimeErrorCode('RECURSIVE_INTERFACE_INHERITANCE',
        "'{0}' can't be a superinterface of itself: {1}.")