Opened 8 years ago

#4121 new defect

Recursive type definitions generate no errors

Reported by: Adrian Pop Owned by: Martin Sjölund
Priority: high Milestone: Future
Component: MetaModelica Version:
Keywords: Cc:

Description

Having a file containing:

uniontype Resources
  record R
    Integer i;
  end R;
end Resources;
type Resources = list<Resources>; // reference itself

will generate no error messages, will just fail directly!

Change History (0)

Note: See TracTickets for help on using tickets.