PREFIX_COLLIDES_WITH_TOP_LEVEL_MEMBER constant

CompileTimeErrorCode const PREFIX_COLLIDES_WITH_TOP_LEVEL_MEMBER

14.1 Imports: It is a compile-time error if the current library declares a top-level member named p.

Implementation

static const CompileTimeErrorCode PREFIX_COLLIDES_WITH_TOP_LEVEL_MEMBER =
    CompileTimeErrorCode(
        'PREFIX_COLLIDES_WITH_TOP_LEVEL_MEMBER',
        "The name '{0}' is already used as an import prefix and can't be "
            "used to name a top-level element.",
        correction:
            "Try renaming either the top-level element or the prefix.")