Opened 12 years ago

Closed 3 years ago

Last modified 3 years ago

#1711 closed defect (fixed)

Check for illegal each

Reported by: sjoelund.se Owned by: sjoelund.se
Priority: high Milestone: 1.16.0
Component: New Instantiation Version:
Keywords: Cc: sjoelund.se, adrpo

Description (last modified by sjoelund.se)

Should return an error n is not an array declaration:

model N
  Real r;
end N;

model M
  N n(each r = 1.0);
end M;

Change History (4)

comment:1 Changed 12 years ago by sjoelund.se

  • Component set to Backend
  • Description modified (diff)

comment:2 Changed 8 years ago by dietmarw

  • Milestone set to Future

comment:3 Changed 3 years ago by perost

  • Component changed from Backend to New Instantiation
  • Resolution set to fixed
  • Status changed from new to closed

The new frontend gives a warning in this case, and an error if --strict is used.

comment:4 Changed 3 years ago by casella

  • Milestone changed from Future to 1.16.0
Note: See TracTickets for help on using tickets.