Opened 2 years ago

Last modified 2 years ago

#5493 assigned defect

Callin nested external object destructors in constant evaluation

Reported by: Jonathan Kämpe Owned by: Jonathan Kämpe
Priority: major Milestone:
Component: Modelica/FrontEnd Version: trunk
Keywords: Cc:

Description

The test testExtObjRecursive in test_extfunctions.py tests constant evaluation of nested external objects. In it the constructor that takes an external object as input copies it. We should investigate if the copy should be necessary and if the destructor of the input should be called after the second constructor is called or after the complete evaluation.

Change History (1)

comment:1 Changed 2 years ago by Jonathan Kämpe

changeset:10310

Added workaround for constant evaluation of nested external objects.

Note: See TracTickets for help on using tickets.