Skip to content

Commit 47e3f9f

Browse files
committed
implement unpickling of FLEXIBLEtype
1 parent c717bfe commit 47e3f9f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compiler/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,8 @@ class TreeUnpickler(reader: TastyReader,
415415
readTypeRef() match {
416416
case binder: LambdaType => binder.paramRefs(readNat())
417417
}
418+
case FLEXIBLEtype =>
419+
FlexibleType(readType())
418420
}
419421
assert(currentAddr == end, s"$start $currentAddr $end ${astTagToString(tag)}")
420422
result

0 commit comments

Comments
 (0)