TOP_LEVEL_IDENTIFIER_NO_TYPE constant

StrongModeCode const TOP_LEVEL_IDENTIFIER_NO_TYPE

Implementation

static const StrongModeCode TOP_LEVEL_IDENTIFIER_NO_TYPE = StrongModeCode(
    ErrorType.HINT,
    'TOP_LEVEL_IDENTIFIER_NO_TYPE',
    "The type of '{0}' can't be inferred because the type of '{1}' "
        "couldn't be inferred.",
    correction:
        "Try adding an explicit type to either the variable '{0}' or the "
        "variable '{1}'.")