Opened 10 years ago

Last modified 10 years ago

#2832 closed defect

Annotation in external objects is lost when instantiating — at Initial Version

Reported by: carlj@… Owned by: somebody
Priority: high Milestone: 1.9.1
Component: Frontend Version: trunk
Keywords: Cc:

Description

When instantiating an external object, the annotation in the class is lost. It seems to me like it would be present in the DAE.ElementSource in the DAE.EXTOBJECTCLASS, but InstFunction.instantiateExternalObject fills in very little information in the source for a DAE.EXTOBJECTCLASS.

To be clear, it is the annotation commented as X below that is missing.

    class Model
      extends ExternalObject;

      function constructor
       ....
      end constructor;

      function destructor
       ...
      end destructor;
     
      annotation(...); // X
    end Model;

Change History (0)

Note: See TracTickets for help on using tickets.