Opened 10 years ago
Last modified 10 years ago
#3920 new enhancement
smiplify swap args — at Version 1
| Reported by: | Vitalij Ruge | Owned by: | Martin Sjölund |
|---|---|---|---|
| Priority: | high | Milestone: | Future |
| Component: | MetaModelica | Version: | |
| Keywords: | Cc: |
Description (last modified by )
In some cases we have something like
case(e1 as X(), e2 as Y() )
guard
...
equation
...
then f(e1,e2)
case(e2 as Y(), e1 as X())
guard
...
equation
...
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())
guard
...
equation
...
then f(e1,e2)
Note:
See TracTickets
for help on using tickets.
