File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
compiler/src/dotty/tools/dotc/core/tasty Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -347,10 +347,13 @@ class TreeUnpickler(reader: TastyReader,
347
347
readType().appliedTo(until(end)(readType()))
348
348
case TYPEBOUNDS =>
349
349
val lo = readType()
350
- val hi = if nothingButMods(end) then lo else readType()
351
- val variantHi = readVariances(hi)
352
- if (lo.isMatch && (lo `eq` hi)) MatchAlias (variantHi)
353
- else TypeBounds (lo, variantHi)
350
+ if nothingButMods(end) then
351
+ TypeAlias (readVariances(lo))
352
+ else
353
+ val hi = readType()
354
+ val variantHi = readVariances(hi)
355
+ if (lo.isMatch && (lo `eq` hi)) MatchAlias (variantHi)
356
+ else TypeBounds (lo, variantHi)
354
357
case ANNOTATEDtype =>
355
358
AnnotatedType (readType(), Annotation (readTerm()))
356
359
case ANDtype =>
You can’t perform that action at this time.
0 commit comments