IMPLEMENTS_SUPER_CLASS constant

CompileTimeErrorCode const IMPLEMENTS_SUPER_CLASS

7.10 Superinterfaces: It is a compile-time error if the superclass of a class C appears in the implements clause of C.

Parameters: 0: the name of the class that appears in both "extends" and "implements" clauses

Implementation

static const CompileTimeErrorCode IMPLEMENTS_SUPER_CLASS =
    CompileTimeErrorCode('IMPLEMENTS_SUPER_CLASS',
        "'{0}' can't be used in both 'extends' and 'implements' clauses.",
        correction: "Try removing one of the occurrences.")