Skip to content

Commit b9a98a6

Browse files
smarterDarkDimius
authored andcommitted
Remove obsolete comment about t2667 failing
It was fixed by #390 and the test was added back in #408.
1 parent 275c340 commit b9a98a6

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
@@ -37,7 +37,7 @@ class ExtensionMethods extends MiniPhaseTransform with DenotTransformer with Ful
3737
case ref: ClassDenotation if ref is ModuleClass =>
3838
ref.linkedClass match {
3939
case origClass: ClassSymbol if isDerivedValueClass(origClass) =>
40-
val cinfo = ref.classInfo // ./tests/pos/t2667.scala dies here for module class AnyVal$
40+
val cinfo = ref.classInfo
4141
val decls1 = cinfo.decls.cloneScope
4242
ctx.atPhase(thisTransformer.next) { implicit ctx =>
4343
for (decl <- origClass.classInfo.decls) {

0 commit comments

Comments
 (0)