Commit 2be8847
authored
Fix
Fix #60152, which impacted both lowering implementations.
`remove-argument-side-effects` assumed all `kw` arguments from a
`parameters` block had already been dumped into the argument list, which
is
not true in some cases. In addition:
- JuliaLowering hit a MethodError in the dumped-`kw` case regardless.
There are other issues with `kw` which I'm ignoring in this PR (see
#60162)
- Delete some ancient history: `&` [used to be a valid
argument](a378b75#diff-5d79463faae0f7f19454c7f9888498d9f876082e258ab3efdca36a0ee64b0c87L72)
head sometime in 2012 apparently!remove-argument-side-effects with keyword call (#60195)1 parent ddf1b02 commit 2be8847
File tree
4 files changed
+35
-6
lines changed- JuliaLowering
- src
- test
- src
- test
4 files changed
+35
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
539 | 539 | | |
540 | 540 | | |
541 | 541 | | |
542 | | - | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
543 | 547 | | |
544 | 548 | | |
545 | 549 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
98 | 112 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1809 | 1809 | | |
1810 | 1810 | | |
1811 | 1811 | | |
1812 | | - | |
1813 | | - | |
1814 | | - | |
| 1812 | + | |
| 1813 | + | |
| 1814 | + | |
1815 | 1815 | | |
1816 | | - | |
| 1816 | + | |
| 1817 | + | |
| 1818 | + | |
1817 | 1819 | | |
1818 | 1820 | | |
1819 | 1821 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3730 | 3730 | | |
3731 | 3731 | | |
3732 | 3732 | | |
3733 | | - | |
| 3733 | + | |
3734 | 3734 | | |
3735 | 3735 | | |
3736 | 3736 | | |
| |||
3746 | 3746 | | |
3747 | 3747 | | |
3748 | 3748 | | |
| 3749 | + | |
| 3750 | + | |
| 3751 | + | |
| 3752 | + | |
| 3753 | + | |
| 3754 | + | |
| 3755 | + | |
| 3756 | + | |
| 3757 | + | |
3749 | 3758 | | |
3750 | 3759 | | |
3751 | 3760 | | |
| |||
0 commit comments