Changeset 14252


Ignore:
Timestamp:
Dec 2, 2019 5:06:32 PM (3 days ago)
Author:
amartensen
Message:

#5879 added getInstGeneratedInnerModifications().collectErrors(checkType) in InstBaseClassDecl.collectErrors() instead of calling the name check directly in InstGeneratedInner.collectErrors()

Location:
branches/dev-2559/Compiler/ModelicaFrontEnd/src/jastadd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/dev-2559/Compiler/ModelicaFrontEnd/src/jastadd/errorcheck/ErrorCheck.jrag

    r14237 r14252  
    694694            getInstRestriction().collectErrors(checkType);
    695695            getInstGeneratedInnersList().collectErrors(checkType);
     696            getGeneratedInnerModificationsList().collectErrors(checkType);
    696697            if (getSrcBaseClassDecl() instanceof SrcFullClassDecl) {
    697698                SrcFullClassDecl fcd = (SrcFullClassDecl) getSrcBaseClassDecl();
     
    746747                    getCopiedOuter().error("Can't generate missing inner declaration for %s, due to the outer declarations being of different types: %s", name(), sb);
    747748                    error = true;
    748                 }
    749                 for(InstModification im : containingInstClassDecl().getGeneratedInnerModificationsList()) {
    750                     im.checkModificationNames(checkType);
    751749                }
    752750            }
  • branches/dev-2559/Compiler/ModelicaFrontEnd/src/jastadd/instance/InstanceTree.jrag

    r14235 r14252  
    25602560    eq Root.getChild().containingInstNode()     = null;
    25612561   
    2562     inh InstClassDecl InstGeneratedInner.containingInstClassDecl();
    25632562    inh InstClassDecl FExternalStmt.containingInstClassDecl();
    25642563    eq Root.getChild().containingInstClassDecl()          = null;
Note: See TracChangeset for help on using the changeset viewer.