MEMBER_WITH_CLASS_NAME constant

CompileTimeErrorCode const MEMBER_WITH_CLASS_NAME
@Deprecated('Superseded by ParserErrorCode.MEMBER_WITH_CLASS_NAME')

7 Classes: It is a compile time error if a class C declares a member with the same name as C.

Implementation

static const CompileTimeErrorCode MEMBER_WITH_CLASS_NAME =
    CompileTimeErrorCode('MEMBER_WITH_CLASS_NAME',
        "Class members can't have the same name as the enclosing class.")