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 23, 2020
1 parent 60b5ac6 commit e26fd1e
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 e26fd1e

Please sign in to comment.