REFERENCED_BEFORE_DECLARATION constant

CompileTimeErrorCode const REFERENCED_BEFORE_DECLARATION

No parameters.

Implementation

static const CompileTimeErrorCode REFERENCED_BEFORE_DECLARATION =
    CompileTimeErrorCode('REFERENCED_BEFORE_DECLARATION',
        "Local variable '{0}' can't be referenced before it is declared.",
        correction: "Try moving the declaration to before the first use, or "
            "renaming the local variable so that it doesn't hide a name from "
            "an enclosing scope.",
        hasPublishedDocs: true)