Commit 39ea6fb
committed
Set Macro flag and containsQuotesOrSplices in PostTyper
It's easier to handle this in PostTyper since then we do
not need to distinguish between inlined and normal code.
Also, need to record quotes as well as splices since ReifyQuotes
should also do macro expansion.
Also, add a missing recursive call to `transform` in ReifyQuotes.1 parent 33a93a6 commit 39ea6fb
File tree
5 files changed
+27
-17
lines changed- compiler/src/dotty/tools/dotc
- transform
- typer
5 files changed
+27
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
162 | 180 | | |
163 | 181 | | |
164 | 182 | | |
| |||
167 | 185 | | |
168 | 186 | | |
169 | 187 | | |
| 188 | + | |
170 | 189 | | |
171 | 190 | | |
172 | 191 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
339 | | - | |
| 339 | + | |
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
179 | 183 | | |
180 | 184 | | |
181 | 185 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | 397 | | |
407 | 398 | | |
408 | 399 | | |
409 | 400 | | |
410 | | - | |
411 | | - | |
412 | | - | |
413 | | - | |
| 401 | + | |
414 | 402 | | |
415 | 403 | | |
416 | 404 | | |
| |||
1086 | 1074 | | |
1087 | 1075 | | |
1088 | 1076 | | |
1089 | | - | |
1090 | 1077 | | |
1091 | 1078 | | |
1092 | 1079 | | |
| |||
0 commit comments