We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 275c340 commit b9a98a6Copy full SHA for b9a98a6
src/dotty/tools/dotc/transform/ExtensionMethods.scala
@@ -37,7 +37,7 @@ class ExtensionMethods extends MiniPhaseTransform with DenotTransformer with Ful
37
case ref: ClassDenotation if ref is ModuleClass =>
38
ref.linkedClass match {
39
case origClass: ClassSymbol if isDerivedValueClass(origClass) =>
40
- val cinfo = ref.classInfo // ./tests/pos/t2667.scala dies here for module class AnyVal$
+ val cinfo = ref.classInfo
41
val decls1 = cinfo.decls.cloneScope
42
ctx.atPhase(thisTransformer.next) { implicit ctx =>
43
for (decl <- origClass.classInfo.decls) {
0 commit comments