This repository was archived by the owner on May 18, 2019. It is now read-only.
Commit 1c428bf
Handle inline where inputs are record fun-calls
Use DAE.RSUB() to handle general expressions. When doing inline of a
function call, we can use DAE.RSUB instead of failing; previously we
only handled component references passed to the call. Also added code
generation and simplifications for DAE.RSUB since it was only used
for MetaModelica previously.
This fixes some of the issues raised in ticket:4423.
Belonging to [master]:
- #2076
- OpenModelica/OpenModelica-testsuite#8101 parent 62a0b9d commit 1c428bf
4 files changed
Lines changed: 43 additions & 1 deletion
File tree
- Compiler
- FrontEnd
- Template
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
| 285 | + | |
| 286 | + | |
285 | 287 | | |
286 | 288 | | |
287 | 289 | | |
| |||
302 | 304 | | |
303 | 305 | | |
304 | 306 | | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
305 | 319 | | |
306 | 320 | | |
307 | 321 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1424 | 1424 | | |
1425 | 1425 | | |
1426 | 1426 | | |
1427 | | - | |
| 1427 | + | |
1428 | 1428 | | |
1429 | 1429 | | |
1430 | 1430 | | |
| |||
1447 | 1447 | | |
1448 | 1448 | | |
1449 | 1449 | | |
| 1450 | + | |
| 1451 | + | |
| 1452 | + | |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
| 1456 | + | |
| 1457 | + | |
| 1458 | + | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
1450 | 1462 | | |
1451 | 1463 | | |
1452 | 1464 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3699 | 3699 | | |
3700 | 3700 | | |
3701 | 3701 | | |
| 3702 | + | |
3702 | 3703 | | |
3703 | 3704 | | |
3704 | 3705 | | |
| |||
6246 | 6247 | | |
6247 | 6248 | | |
6248 | 6249 | | |
| 6250 | + | |
| 6251 | + | |
| 6252 | + | |
6249 | 6253 | | |
6250 | 6254 | | |
6251 | 6255 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
973 | 973 | | |
974 | 974 | | |
975 | 975 | | |
| 976 | + | |
976 | 977 | | |
977 | 978 | | |
978 | 979 | | |
979 | 980 | | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
980 | 992 | | |
981 | 993 | | |
982 | 994 | | |
| |||
0 commit comments