diff options
Diffstat (limited to 'test/files/run/reflection-constructormirror-inner-badpath.scala')
-rw-r--r-- | test/files/run/reflection-constructormirror-inner-badpath.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/reflection-constructormirror-inner-badpath.scala b/test/files/run/reflection-constructormirror-inner-badpath.scala index 4bccff21fe..e7c06b32ae 100644 --- a/test/files/run/reflection-constructormirror-inner-badpath.scala +++ b/test/files/run/reflection-constructormirror-inner-badpath.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 ) try { val cls = cm.reflectClass( sym ) |