Changeset 84d51fc7 in OpenModelica


Ignore:
Timestamp:
2022-06-27T15:06:44+02:00 (22 months ago)
Author:
GitHub <noreply@…>
Branches:
maintenance/v1.19
Children:
11590d2c, 774197e
Parents:
57bdf02
git-author:
perost <perost86@…> (06/27/22 15:06:44)
git-committer:
GitHub <noreply@…> (06/27/22 15:06:44)
Message:

Ignore overloaded functions in NFInst.instClass2 (#9151)

  • Ignore overloaded functions in NFInst.instClass2, they don't need to be instantiated and cause confusing error messages if not ignored.

Fixes #9122

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OMCompiler/Compiler/NFFrontEnd/NFInst.mo

    r29821fa0 r84d51fc7  
    447447      end match;
    448448
     449    // Overloaded functions are normally handled separately in Function, but we might
     450    // get here through e.g. the interactive API. In that case just ignore them.
     451    case SCode.OVERLOAD() then node;
     452
    449453    else
    450454      algorithm
Note: See TracChangeset for help on using the changeset viewer.