File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
src/dotty/tools/dotc/transform Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ class ExtensionMethods extends MiniPhaseTransform with DenotTransformer with Ful
35
35
case ref : ClassDenotation if ref is ModuleClass =>
36
36
ref.linkedClass match {
37
37
case origClass : ClassSymbol if isDerivedValueClass(origClass) =>
38
- val cinfo = ref.classInfo
38
+ val cinfo = ref.classInfo // ./tests/pos/t2667.scala dies here for module class AnyVal$
39
39
val decls1 = cinfo.decls.cloneScope
40
40
ctx.atPhase(thisTransformer.next) { implicit ctx =>
41
41
for (decl <- origClass.classInfo.decls) {
Original file line number Diff line number Diff line change
1
+ // ExtensionMethods info transformer fails here for AnyVal$
1
2
object A {
2
3
def foo (x : Int , y : Int * ): Int = 45
3
4
def foo [T ](x : T * ): Int = 55
You can’t perform that action at this time.
0 commit comments