Skip to content

Commit 1bfd88e

Browse files
committed
Don't pickle Erased flags for methods
1 parent 0de0505 commit 1bfd88e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

-1
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,6 @@ class TreePickler(pickler: TastyPickler) {
287287
var mods = EmptyFlags
288288
if tpe.isContextualMethod then mods |= Given
289289
else if tpe.isImplicitMethod then mods |= Implicit
290-
if tpe.hasErasedParams then mods |= Erased
291290
pickleMethodic(METHODtype, tpe, mods)
292291
case tpe: ParamRef =>
293292
assert(pickleParamRef(tpe), s"orphan parameter reference: $tpe")

0 commit comments

Comments
 (0)