EXPORT_OF_NON_LIBRARY constant

CompileTimeErrorCode const EXPORT_OF_NON_LIBRARY

14.2 Exports: It is a compile-time error if the compilation unit found at the specified URI is not a library declaration.

Parameters: 0: the uri pointing to a non-library declaration

Implementation

static const CompileTimeErrorCode EXPORT_OF_NON_LIBRARY =
    CompileTimeErrorCode('EXPORT_OF_NON_LIBRARY',
        "The exported library '{0}' can't have a part-of directive.",
        correction: "Try exporting the library that the part is a part of.")