diff options
Diffstat (limited to 'test/files/run/reflection-allmirrors-tostring.scala')
-rw-r--r-- | test/files/run/reflection-allmirrors-tostring.scala | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/files/run/reflection-allmirrors-tostring.scala b/test/files/run/reflection-allmirrors-tostring.scala index 41bab5ac0e..f0614e9a98 100644 --- a/test/files/run/reflection-allmirrors-tostring.scala +++ b/test/files/run/reflection-allmirrors-tostring.scala @@ -1,4 +1,3 @@ - import scala.language.higherKinds import scala.reflect.runtime.universe._ @@ -40,6 +39,6 @@ object Test extends App { val c = cm.staticClass("C") val cc = typeOf[C].member(TypeName("C")).asClass - println(cm.reflectClass(c).reflectConstructor(c.typeSignature.member(nme.CONSTRUCTOR).asMethod)) - println(im.reflectClass(cc).reflectConstructor(cc.typeSignature.member(nme.CONSTRUCTOR).asMethod)) + println(cm.reflectClass(c).reflectConstructor(c.info.member(termNames.CONSTRUCTOR).asMethod)) + println(im.reflectClass(cc).reflectConstructor(cc.info.member(termNames.CONSTRUCTOR).asMethod)) } |