Commit 81ab201
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 2eb9c31 commit 81ab201
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 | |
|---|---|---|---|
| |||
1015 | 1015 | | |
1016 | 1016 | | |
1017 | 1017 | | |
1018 | | - | |
| 1018 | + | |
1019 | 1019 | | |
1020 | 1020 | | |
1021 | 1021 | | |
1022 | | - | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
1023 | 1032 | | |
1024 | 1033 | | |
1025 | 1034 | | |
| |||
1041 | 1050 | | |
1042 | 1051 | | |
1043 | 1052 | | |
1044 | | - | |
1045 | | - | |
1046 | 1053 | | |
1047 | | - | |
1048 | | - | |
| 1054 | + | |
| 1055 | + | |
1049 | 1056 | | |
1050 | 1057 | | |
1051 | 1058 | | |
1052 | | - | |
| 1059 | + | |
1053 | 1060 | | |
1054 | 1061 | | |
1055 | 1062 | | |
| |||
| 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