PREFIX_IDENTIFIER_NOT_FOLLOWED_BY_DOT constant

CompileTimeErrorCode const PREFIX_IDENTIFIER_NOT_FOLLOWED_BY_DOT

16.32 Identifier Reference: If d is a prefix p, a compile-time error occurs unless the token immediately following d is '.'.

Implementation

static const CompileTimeErrorCode PREFIX_IDENTIFIER_NOT_FOLLOWED_BY_DOT =
    CompileTimeErrorCode(
        'PREFIX_IDENTIFIER_NOT_FOLLOWED_BY_DOT',
        "The name '{0}' refers to an import prefix, so it must be followed "
            "by '.'.",
        correction:
            "Try correcting the name to refer to something other than a "
            "prefix, or renaming the prefix.")