PART_OF_UNNAMED_LIBRARY constant

CompileTimeErrorCode const PART_OF_UNNAMED_LIBRARY

Parts: It is a static warning if the referenced part declaration p names a library that does not have a library tag.

Parameters: 0: the URI of the expected library 1: the non-matching actual library name from the "part of" declaration

Implementation

static const CompileTimeErrorCode PART_OF_UNNAMED_LIBRARY =
    CompileTimeErrorCode(
        'PART_OF_UNNAMED_LIBRARY',
        "Library is unnamed. Expected a URI not a library name '{0}' in the "
            "part-of directive.",
        correction:
            "Try changing the part-of directive to a URI, or try including a"
            " different part.")