Commit ac46e2b
committed
fix: emit right parent under for module classes in Scala 2
Logic ported from https://github.com/scala/scala/blob/6ecf74bfb4e914391fda1df5288ebaad6e4699b8/src/compiler/scala/tools/nsc/typechecker/Unapplies.scala#L1221 parent d7994ed commit ac46e2b
File tree
2 files changed
+7
-13
lines changed- compiler/src/dotty/tools/dotc/ast
- project
2 files changed
+7
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
1024 | 1024 | | |
1025 | 1025 | | |
1026 | 1026 | | |
1027 | | - | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
1028 | 1033 | | |
1029 | 1034 | | |
1030 | 1035 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
548 | 548 | | |
549 | 549 | | |
550 | 550 | | |
551 | | - | |
552 | | - | |
553 | | - | |
554 | | - | |
555 | | - | |
556 | | - | |
557 | | - | |
558 | | - | |
559 | | - | |
560 | | - | |
561 | | - | |
562 | 551 | | |
563 | 552 | | |
564 | 553 | | |
| |||
0 commit comments