summaryrefslogtreecommitdiff
path: root/test/files/run/reflection-constructormirror-nested-badpath.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/reflection-constructormirror-nested-badpath.scala')
-rw-r--r--test/files/run/reflection-constructormirror-nested-badpath.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/reflection-constructormirror-nested-badpath.scala b/test/files/run/reflection-constructormirror-nested-badpath.scala
index 2983f185de..cf0de77e10 100644
--- a/test/files/run/reflection-constructormirror-nested-badpath.scala
+++ b/test/files/run/reflection-constructormirror-nested-badpath.scala
@@ -8,8 +8,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 )
try {
val cls = cm.reflect( this ).reflectClass( sym )