File tree 1 file changed +4
-6
lines changed
compiler/src/dotty/tools/dotc/transform
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -33,12 +33,10 @@ class ElimErasedValueType extends MiniPhase with InfoTransformer {
33
33
case origClass : ClassSymbol if isDerivedValueClass(origClass) =>
34
34
val cinfo = tp.asInstanceOf [ClassInfo ]
35
35
val decls1 = cinfo.decls.cloneScope
36
- ctx.atPhase(this .next) { implicit ctx =>
37
- // Remove synthetic cast methods introduced by ExtensionMethods,
38
- // they are no longer needed after this phase.
39
- decls1.unlink(cinfo.decl(nme.U2EVT ).symbol)
40
- decls1.unlink(cinfo.decl(nme.EVT2U ).symbol)
41
- }
36
+ // Remove synthetic cast methods introduced by ExtensionMethods,
37
+ // they are no longer needed after this phase.
38
+ decls1.unlink(cinfo.decl(nme.U2EVT ).symbol)
39
+ decls1.unlink(cinfo.decl(nme.EVT2U ).symbol)
42
40
cinfo.derivedClassInfo(decls = decls1)
43
41
case _ =>
44
42
tp
You can’t perform that action at this time.
0 commit comments