Opened 10 years ago
Closed 10 years ago
#2886 closed enhancement (fixed)
Implement support for algorithm section in match/matchcontinue
Reported by: | perost | Owned by: | sjoelund.se |
---|---|---|---|
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 Changed 10 years ago by sjoelund.se
- Milestone changed from Bootstrapping to 1.9.1
- Status changed from new to accepted
comment:2 Changed 10 years ago by sjoelund.se
- Resolution set to fixed
- Status changed from accepted to closed
Fixed in r22755.