Opened 10 years ago
Last modified 10 years ago
#3920 new enhancement
smiplify swap args — at Initial Version
| Reported by: | Vitalij Ruge | Owned by: | Martin Sjölund |
|---|---|---|---|
| Priority: | high | Milestone: | Future |
| Component: | MetaModelica | Version: | |
| Keywords: | Cc: |
Description
In some cases we have something like
case(e1 as X(), e2 as Y() )
then f(e1,e2)
case(e2 as Y(), e1 as X())
then f(e1,e2)
it would nice to have
case(e1 as X(), e2 as Y()) /*key-word?*/
case(e2 as Y(), e1 as X())
then f(e1,e2)
Note:
See TracTickets
for help on using tickets.
