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 e1e0e9a commit a72d2c8Copy full SHA for a72d2c8
src/dotty/tools/dotc/transform/ExtensionMethods.scala
@@ -35,7 +35,7 @@ class ExtensionMethods extends MiniPhaseTransform with DenotTransformer with Ful
35
case ref: ClassDenotation if ref is ModuleClass =>
36
ref.linkedClass match {
37
case origClass: ClassSymbol if isDerivedValueClass(origClass) =>
38
- val cinfo = ref.classInfo // ./tests/pos/t2667.scala dies here for module class AnyVal$
+ val cinfo = ref.classInfo
39
val decls1 = cinfo.decls.cloneScope
40
ctx.atPhase(thisTransformer.next) { implicit ctx =>
41
for (decl <- origClass.classInfo.decls) {
0 commit comments