Commit 332fceb
authored
Make sure Block does not incorrectly match a TypeBlock (#22716)
Part 2 to #21722
We do the same thing as there, but this time to make sure TypeBlocks are
not matched as Blocks. The tests from that PR were also moved, as I did
not realize they were put in `tests/pos` instead of `tests/pos-macros`
when making the review.File tree
5 files changed
+13
-1
lines changed- compiler/src/scala/quoted/runtime/impl
- tests/pos-macros
- i21721-a
- i21721-b
5 files changed
+13
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
824 | 824 | | |
825 | 825 | | |
826 | 826 | | |
827 | | - | |
| 827 | + | |
828 | 828 | | |
829 | 829 | | |
830 | 830 | | |
| |||
File renamed without changes.
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments