Changeset 14090


Ignore:
Timestamp:
Nov 15, 2019 5:09:35 PM (3 weeks ago)
Author:
tgutzmann
Message:

#5878 Added assert to ensure LibraryDef's path never points to package.mo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Compiler/ModelicaFrontEnd/src/jastadd/source/Library.jrag

    r13598 r14090  
    557557       
    558558        private LibraryDef(String name, String version, boolean structured, SrcLibNode.LoadReason reason, LoadInfo loadInfo) {
     559            assert !loadInfo.getPathAsPath().getFileName().toString().equals(SrcLibNode.PACKAGE_FILE);
    559560            this.name = name;
    560561            this.version = version;
Note: See TracChangeset for help on using the changeset viewer.