Skip to content

Commit b3642c0

Browse files
committed
Don't convert erased vals to getters
1 parent 39cacda commit b3642c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/transform/Getters.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ class Getters extends MiniPhase with SymTransformer { thisPhase =>
9090
d1
9191
}
9292

93-
private val NoGetterNeededFlags = Method | Param | JavaDefined | JavaStatic | PhantomSymbol
93+
private val NoGetterNeededFlags = Method | Param | JavaDefined | JavaStatic | PhantomSymbol | Erased
9494

9595
val newSetters = util.HashSet[Symbol]()
9696

0 commit comments

Comments
 (0)