Skip to content

Commit bad332e

Browse files
Add back default case in readLengthTerm
1 parent caf62de commit bad332e

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
@@ -1159,6 +1159,8 @@ class TreeUnpickler(reader: TastyReader,
11591159
goto(start)
11601160
symbolAtCurrent()
11611161
readNewDef()
1162+
case _ =>
1163+
readPathTerm()
11621164
}
11631165
assert(currentAddr == end, s"$start $currentAddr $end ${astTagToString(tag)}")
11641166
result

0 commit comments

Comments
 (0)