Commit 3f51f11
committed
Move ElimRepeated miniphase to an earlier group
ByNameLambda needs to run in a group after ElimRepeated since ElimRepeated
works on ByName arguments but not converted closures, and it sees the arguments
after transformations by subsequent miniphases in the same group.1 parent a447a7e commit 3f51f11
File tree
2 files changed
+8
-3
lines changed- compiler/src/dotty/tools/dotc
- transform
2 files changed
+8
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
| 71 | + | |
71 | 72 | | |
72 | | - | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
| |||
0 commit comments