diff options
Diffstat (limited to 'test/files/run/reflection-constructormirror-toplevel-badpath.scala')
-rw-r--r-- | test/files/run/reflection-constructormirror-toplevel-badpath.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/reflection-constructormirror-toplevel-badpath.scala b/test/files/run/reflection-constructormirror-toplevel-badpath.scala index cf92929119..eda4aa0531 100644 --- a/test/files/run/reflection-constructormirror-toplevel-badpath.scala +++ b/test/files/run/reflection-constructormirror-toplevel-badpath.scala @@ -13,8 +13,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 ) |