summaryrefslogtreecommitdiff
path: root/test/files/run/reflection-constructormirror-inner-good.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/reflection-constructormirror-inner-good.scala')
-rw-r--r--test/files/run/reflection-constructormirror-inner-good.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/reflection-constructormirror-inner-good.scala b/test/files/run/reflection-constructormirror-inner-good.scala
index 861332161f..c09da5b300 100644
--- a/test/files/run/reflection-constructormirror-inner-good.scala
+++ b/test/files/run/reflection-constructormirror-inner-good.scala
@@ -12,8 +12,8 @@ class Foo{
val classTag = implicitly[ClassTag[R]]
val cl = classTag.runtimeClass.getClassLoader
val cm = runtimeMirror(cl)
- val constructor = expectedType.tpe.member( nme.CONSTRUCTOR ).asMethod
- val sig = constructor.typeSignature
+ val constructor = expectedType.tpe.member( termNames.CONSTRUCTOR ).asMethod
+ val sig = constructor.info
val sym = cm.classSymbol( classTag.runtimeClass )
val cls = cm.reflect( this ).reflectClass( sym )
cls.reflectConstructor( constructor )( 5,"test" ).asInstanceOf[R]