Commit a2bead9
Partially fix pickling tests failing with smarter tpd
This also seems to be a reason why Ycheck:front fails.
typeAssigner is REMOVING partial evaluation that typer did
when you copy a tree. It means that types would be different if
you test pickling.
Update made to homogenize:
- Don't print constant types in pickling.
- Sort union types according to their .show String1 parent 3d4cdd7 commit a2bead9
File tree
2 files changed
+6
-1
lines changed- compiler/src/dotty/tools/dotc/printing
2 files changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
57 | 60 | | |
58 | 61 | | |
59 | 62 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| 128 | + | |
| 129 | + | |
128 | 130 | | |
129 | 131 | | |
130 | 132 | | |
| |||
0 commit comments