Opened 11 years ago

Closed 11 years ago

#2297 closed defect (fixed)

Multiple declarations of FoldType in Compiler/Util/Util.mo

Reported by: Bill Janssen Owned by: somebody
Priority: high Milestone: 1.9.0
Component: Frontend Version: trunk
Keywords: Cc:

Description (last modified by Bill Janssen)

I just checked out the trunk sources, and tried a fresh build. In Compiler/Util/Util.mo, there are four instances of this:

  replaceable type FoldType subtypeof Any;
  replaceable type FoldType subtypeof Any;

which of course generates an error on bootstrapping:

"local/open-modelica/src/Compiler/Util/Util.mo:701:15-701:42:writable Error: An element with name FoldType is already declared in this scope.

Change History (2)

comment:1 by Bill Janssen, 11 years ago

Description: modified (diff)

comment:2 by Martin Sjölund, 11 years ago

Resolution: fixed
Status: newclosed

Fixed in r16758

Note: See TracTickets for help on using tickets.