Skip to content

Commit a72d2c8

Browse files
committed
Remove obsolete comment about t2667 failing
It was fixed by scala#390 and the test was added back in scala#408.
1 parent e1e0e9a commit a72d2c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class ExtensionMethods extends MiniPhaseTransform with DenotTransformer with Ful
3535
case ref: ClassDenotation if ref is ModuleClass =>
3636
ref.linkedClass match {
3737
case origClass: ClassSymbol if isDerivedValueClass(origClass) =>
38-
val cinfo = ref.classInfo // ./tests/pos/t2667.scala dies here for module class AnyVal$
38+
val cinfo = ref.classInfo
3939
val decls1 = cinfo.decls.cloneScope
4040
ctx.atPhase(thisTransformer.next) { implicit ctx =>
4141
for (decl <- origClass.classInfo.decls) {

0 commit comments

Comments
 (0)