Skip to content

Commit 2ab65fd

Browse files
committed
Uncomment important test for Scala trait forwarding
Scala 2 doe snot generate default methods, so we always need forwarders.
1 parent 86f954c commit 2ab65fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dotty/tools/dotc/transform/MixinOps.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class MixinOps(cls: ClassSymbol, thisTransform: DenotTransformer)(implicit ctx:
3737
meth.is(Method, butNot = PrivateOrAccessorOrDeferred) &&
3838
!isOverridden &&
3939
!meth.isConstructor &&
40-
(needsDisambiguation/* || meth.owner.is(Scala2x)*/)
40+
(needsDisambiguation || meth.owner.is(Scala2x))
4141
}
4242

4343
final val PrivateOrAccessorOrDeferred = Private | Accessor | Deferred

0 commit comments

Comments
 (0)