Opened 11 years ago

Last modified 4 years ago

#2620 closed defect

detect appling of pre on continuos variable — at Version 2

Reported by: Willi Braun Owned by: probably noone
Priority: high Milestone: 1.16.0
Component: New Instantiation Version: trunk
Keywords: Cc: Lennart Ochel

Description (last modified by Lennart Ochel)

models like that:

model M
  Real x;
equation
  x = pre(x) +1;
end M;

should rejected, since pre is not allowed to apply to a continues variable.

(see also #2744)

Change History (2)

comment:1 by Lennart Ochel, 11 years ago

Cc: Lennart Ochel added

comment:2 by Lennart Ochel, 11 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.