Opened 10 years ago

Closed 10 years ago

Last modified 7 years ago

#2848 closed defect (fixed)

No error when using conditional expression without value

Reported by: Per Östlund Owned by: Per Östlund
Priority: high Milestone: 1.9.4
Component: Frontend Version: trunk
Keywords: Cc:

Description

This model does not give an error, it just fails to evaluate the conditional expression and removes it:

model M
  parameter Boolean b;
  Real x if b;
end M;

Change History (5)

comment:1 by Per Östlund, 10 years ago

Owner: changed from somebody to Per Östlund
Status: newaccepted

comment:2 by Per Östlund, 10 years ago

Fixed locally, will commit once bootstrapping features are allowed in trunk.

comment:3 by Per Östlund, 10 years ago

Resolution: fixed
Status: acceptedclosed

comment:4 by Dietmar Winkler, 9 years ago

Milestone: Futurepre1.9.4

It doesn't make sense to keep closed ticket in the "Future" milestone that were simply forgotten to assign to the correct milestone in the past.

comment:5 by Martin Sjölund, 7 years ago

Milestone: pre1.9.41.9.4

Removing the pre1.9.4 milestone in favor of 1.9.4.

Note: See TracTickets for help on using tickets.