summaryrefslogtreecommitdiff
path: root/test/files/run/reflection-constructormirror-nested-good.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/reflection-constructormirror-nested-good.scala')
-rw-r--r--test/files/run/reflection-constructormirror-nested-good.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/reflection-constructormirror-nested-good.scala b/test/files/run/reflection-constructormirror-nested-good.scala
index 432e9d3707..0b7c413975 100644
--- a/test/files/run/reflection-constructormirror-nested-good.scala
+++ b/test/files/run/reflection-constructormirror-nested-good.scala
@@ -8,7 +8,7 @@ class Foo{
val classTag = implicitly[ClassTag[R]]
val cl = classTag.runtimeClass.getClassLoader
val cm = runtimeMirror(cl)
- val constructor = expectedType.tpe.member( nme.CONSTRUCTOR ).asMethodSymbol
+ val constructor = expectedType.tpe.member( nme.CONSTRUCTOR ).asMethod
val sig = constructor.typeSignature
val sym = cm.classSymbol( classTag.runtimeClass )
val cls = cm.reflectClass( sym )