EXTENDS_NON_CLASS constant

CompileTimeErrorCode const EXTENDS_NON_CLASS

Parameters: 0: the name in the extends clause

Implementation

static const CompileTimeErrorCode EXTENDS_NON_CLASS = CompileTimeErrorCode(
    'EXTENDS_NON_CLASS', "Classes can only extend other classes.",
    correction:
        "Try specifying a different superclass, or removing the extends "
        "clause.",
    hasPublishedDocs: true,
    isUnresolvedIdentifier: true)