summaryrefslogtreecommitdiff
path: root/test/files/run/reflection-equality.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/reflection-equality.scala')
-rw-r--r--test/files/run/reflection-equality.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/reflection-equality.scala b/test/files/run/reflection-equality.scala
index 35dc47a59f..8fc82721e7 100644
--- a/test/files/run/reflection-equality.scala
+++ b/test/files/run/reflection-equality.scala
@@ -11,7 +11,7 @@ object Test extends ReplTest {
|def im: InstanceMirror = cm.reflect(new X)
|val cs: ClassSymbol = im.symbol
|val ts: Type = cs.typeSignature
- |val ms: MethodSymbol = ts.declaration(newTermName("methodIntIntInt")).asMethodSymbol
+ |val ms: MethodSymbol = ts.declaration(newTermName("methodIntIntInt")).asMethod
|val MethodType( _, t1 ) = ms.typeSignature
|val t2 = typeOf[scala.Int]
|t1 == t2