DUPLICATE_PART constant

CompileTimeErrorCode const DUPLICATE_PART

18.3 Parts: It's a compile-time error if the same library contains two part directives with the same URI.

Parameters: 0: the URI of the duplicate part

Implementation

static const CompileTimeErrorCode DUPLICATE_PART = CompileTimeErrorCode(
    'DUPLICATE_PART',
    "The library already contains a part with the uri '{0}'.",
    correction:
        "Try removing all but one of the duplicated part directives.")