diff options
Diffstat (limited to 'test/files/run/reflection-equality.check')
-rw-r--r-- | test/files/run/reflection-equality.check | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/run/reflection-equality.check b/test/files/run/reflection-equality.check index 3af3ad774d..682326bc18 100644 --- a/test/files/run/reflection-equality.check +++ b/test/files/run/reflection-equality.check @@ -20,17 +20,17 @@ im: reflect.runtime.universe.InstanceMirror scala> val cs: ClassSymbol = im.symbol cs: reflect.runtime.universe.ClassSymbol = class X -scala> val ts: Type = cs.typeSignature +scala> val ts: Type = cs.info ts: reflect.runtime.universe.Type = scala.AnyRef { def <init>(): X def methodIntIntInt(x: scala.Int,y: scala.Int): scala.Int } -scala> val ms: MethodSymbol = ts.declaration(TermName("methodIntIntInt")).asMethod +scala> val ms: MethodSymbol = ts.decl(TermName("methodIntIntInt")).asMethod ms: reflect.runtime.universe.MethodSymbol = method methodIntIntInt -scala> val MethodType( _, t1 ) = ms.typeSignature +scala> val MethodType( _, t1 ) = ms.info t1: reflect.runtime.universe.Type = scala.Int scala> val t2 = typeOf[scala.Int] |