Opened 10 years ago

Closed 10 years ago

#2886 closed enhancement (fixed)

Implement support for algorithm section in match/matchcontinue

Reported by: Per Östlund Owned by: Martin Sjölund
Priority: normal Milestone: 1.9.1
Component: MetaModelica Version: trunk
Keywords: Cc:

Description

match/matchcontinue currently only allows equation sections as case bodies. This is a bit problematic since they currently behave as algorithm sections but with the restrictions of equation sections, which means that you currently can't use e.g. for loops or return statements in them. The current equation sections should be replaced with algorithm sections as planned, but as an intermediary step I think it makes sense to implement support for algorithm sections alongside the current equation/algorithm hybrid sections.

Change History (2)

comment:1 by Martin Sjölund, 10 years ago

Milestone: Bootstrapping1.9.1
Status: newaccepted

comment:2 by Martin Sjölund, 10 years ago

Resolution: fixed
Status: acceptedclosed

Fixed in r22755.

Note: See TracTickets for help on using tickets.