Opened 19 years ago

Last modified 18 years ago

#50 closed defect (fixed)

elsewhen stmts skipped

Reported by: kajny Owned by: kajny
Priority: critical Milestone:
Component: Version:
Keywords: Cc: kajny, haklu

Description


Change History (2)

comment:1 by kajny, 19 years ago

Elsewhen statements seams to be excluded even from flatmodelica.

Testmodel

model WhenPriority

Boolean close;

algorithm

when time >= 5 then

close := true;

elsewhen time <= 5 then

close := false;

end when;

end WhenPriority;

gives this:

fclass WhenPriority
Boolean close;
algorithm

when time >= 5.0 do

close := true;

end when;

end WhenPriority;

comment:2 by Peter Aronsson, 18 years ago

Håkan, I think that you have fixed this but not checked in yet, correct?

Note: See TracTickets for help on using tickets.