Skip to content

Commit

Permalink
Patch stdlib classes also when unpickling from Tasty
Browse files Browse the repository at this point in the history
  • Loading branch information
odersky committed Nov 24, 2020
1 parent 18076c2 commit 77ecfea
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -940,6 +940,7 @@ class TreeUnpickler(reader: TastyReader,
val stats = rdr.readIndexedStats(localDummy, end)
tparams ++ vparams ++ stats
})
defn.patchStdLibClass(cls)
setSpan(start,
untpd.Template(constr, mappedParents, Nil, self, lazyStats)
.withType(localDummy.termRef))
Expand Down

0 comments on commit 77ecfea

Please sign in to comment.