Opened 7 years ago

Closed 3 years ago

#4894 closed defect (fixed)

NF treats polymorphic as a reserved type in Modelica code

Reported by: Per Östlund Owned by: Per Östlund
Priority: low Milestone: 1.19.0
Component: New Instantiation Version: v1.13.0-dev-nightly
Keywords: Cc:

Description (last modified by Per Östlund)

This model:

model M
  class polymorphic
    Real x;
  end polymorphic;

  polymorphic x;
end M;

flattens to this:

class M
  polymorphic<> x;
end M;

polymorphic is an implementation detail for generic types that shouldn't leak into normal Modelica code.

Change History (2)

comment:1 by Per Östlund, 7 years ago

Description: modified (diff)

comment:2 by Per Östlund, 3 years ago

Milestone: Future1.19.0
Resolution: fixed
Status: newclosed

Fixed in 16f4002.

Note: See TracTickets for help on using tickets.