RECURSIVE_INTERFACE_INHERITANCE_EXTENDS constant

CompileTimeErrorCode const RECURSIVE_INTERFACE_INHERITANCE_EXTENDS

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_EXTENDS =
    CompileTimeErrorCode('RECURSIVE_INTERFACE_INHERITANCE_EXTENDS',
        "'{0}' can't extend itself.")