Opened 9 years ago

Closed 2 years ago

#946 closed defect (fixed)

Expressions in size of function variable not in tree

Reported by: Jesper Mattsson Owned by: Jesper Mattsson
Priority: major Milestone: Future
Component: Modelica/FrontEnd Version: trunk
Keywords: Cc:

Description

Function variable declarations in the flat tree get their Size from the instance tree. Any expressions in a MutableSize are flattened, but not added to the tree. MutableSize objects should only contain references to expressions that are a part of the same tree as the node the size refers to.

Change History (7)

comment:1 Changed 9 years ago by Jesper Mattsson

changeset:1762

Added temporary fix to expressions in sizes of function variables not being in tree.

comment:2 Changed 9 years ago by jakesson

Owner: set to Jesper Mattsson
Status: newassigned

comment:3 Changed 9 years ago by Jesper Mattsson

Milestone: 1.3.x1.4.x

comment:4 Changed 9 years ago by Jesper Mattsson

Milestone: 1.4.x1.5.x

comment:5 Changed 9 years ago by Jesper Mattsson

Just adding a DynamicFExp* NTA to AbstractFVariable fails horribly. It produces a myriad of error messages about missing inherited attributes. Perhaps it could be added to the name of the variable instead - FQName or perhaps FArraySubscripts.

comment:6 Changed 9 years ago by jakesson

Milestone: 1.5.0Future

comment:7 Changed 2 years ago by Jesper Mattsson

Resolution: fixed
Status: assignedclosed

Fixed in other ticket(s).

Note: See TracTickets for help on using tickets.