diff options
Diffstat (limited to 'test/files/run/reflection-companiontype.scala')
-rw-r--r-- | test/files/run/reflection-companiontype.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/files/run/reflection-companiontype.scala b/test/files/run/reflection-companiontype.scala index 72c0444a70..7f2a37aaa9 100644 --- a/test/files/run/reflection-companiontype.scala +++ b/test/files/run/reflection-companiontype.scala @@ -12,11 +12,11 @@ object Test extends App { println(showRaw(typeOf[C].companionType.companionType, printKinds = true)) println(showRaw(typeOf[C.type].companionType, printKinds = true)) println("ClassInfoTypes") - println(showRaw(typeOf[C].typeSymbol.typeSignature.companionType, printKinds = true)) - println(showRaw(typeOf[C].typeSymbol.typeSignature.companionType.typeSymbol.typeSignature.companionType, printKinds = true)) - println(showRaw(typeOf[C.type].typeSymbol.typeSignature.companionType, printKinds = true)) + println(showRaw(typeOf[C].typeSymbol.info.companionType, printKinds = true)) + println(showRaw(typeOf[C].typeSymbol.info.companionType.typeSymbol.info.companionType, printKinds = true)) + println(showRaw(typeOf[C.type].typeSymbol.info.companionType, printKinds = true)) println("Unrelated") println(showRaw(typeOf[T].companionType, printKinds = true)) println(showRaw(cm.staticPackage("scala").moduleClass.asType.toType.companionType, printKinds = true)) - println(showRaw(cm.staticPackage("scala").typeSignature.companionType, printKinds = true)) + println(showRaw(cm.staticPackage("scala").info.companionType, printKinds = true)) }
\ No newline at end of file |