Opened 6 years ago

Closed 3 years ago

#4894 closed defect (fixed)

NF treats polymorphic as a reserved type in Modelica code

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

Description (last modified by perost)

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 Changed 6 years ago by perost

  • Description modified (diff)

comment:2 Changed 3 years ago by perost

  • Milestone changed from Future to 1.19.0
  • Resolution set to fixed
  • Status changed from new to closed

Fixed in 16f4002.

Note: See TracTickets for help on using tickets.