Commit 4ce52d0
committed
Tweak to prefix printing
Don't leave out package prefixes under homogenizedView. We want to see
them to make sure they are inserted in the same way before and after pickling.
This discovered a problem in unpickler where package object prefixes were not
correctly inserted back. Test case is pickleAlias.scala.1 parent 7b018de commit 4ce52d0
File tree
3 files changed
+18
-8
lines changed- compiler/src/dotty/tools/dotc
- core/tasty
- printing
- tests/pos
3 files changed
+18
-8
lines changedLines changed: 14 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1013 | 1013 | | |
1014 | 1014 | | |
1015 | 1015 | | |
1016 | | - | |
| 1016 | + | |
1017 | 1017 | | |
1018 | 1018 | | |
1019 | 1019 | | |
1020 | | - | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
1021 | 1030 | | |
1022 | 1031 | | |
1023 | 1032 | | |
| |||
1039 | 1048 | | |
1040 | 1049 | | |
1041 | 1050 | | |
1042 | | - | |
1043 | | - | |
1044 | 1051 | | |
1045 | | - | |
1046 | | - | |
| 1052 | + | |
| 1053 | + | |
1047 | 1054 | | |
1048 | 1055 | | |
1049 | 1056 | | |
1050 | | - | |
| 1057 | + | |
1051 | 1058 | | |
1052 | 1059 | | |
1053 | 1060 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments