diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2014-01-28 12:23:47 +0300 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2014-02-14 14:16:42 +0100 |
commit | 202eb73b6cd6ebb3e20ff9f0a198c4ea83319851 (patch) | |
tree | 1fb59abe86590e8c03baff04099f2eda5bc788ac /test/files/run/reflection-allmirrors-tostring.check | |
parent | ada0252d4494611904c15cc5da72654c1a180a8f (diff) | |
download | scala-202eb73b6cd6ebb3e20ff9f0a198c4ea83319851.tar.gz scala-202eb73b6cd6ebb3e20ff9f0a198c4ea83319851.tar.bz2 scala-202eb73b6cd6ebb3e20ff9f0a198c4ea83319851.zip |
adds showDeclaration(sym: Symbol): String
As per Paul’s request, this commit exposes Symbol.defString, although
in a different way to ensure consistency with our other prettyprinting
facilities provided in the reflection API.
Diffstat (limited to 'test/files/run/reflection-allmirrors-tostring.check')
-rw-r--r-- | test/files/run/reflection-allmirrors-tostring.check | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/files/run/reflection-allmirrors-tostring.check b/test/files/run/reflection-allmirrors-tostring.check index 2a3be29402..3003cce6c0 100644 --- a/test/files/run/reflection-allmirrors-tostring.check +++ b/test/files/run/reflection-allmirrors-tostring.check @@ -1,14 +1,14 @@ class mirror for C (bound to null) module mirror for M (bound to null) instance mirror for an instance of C -field mirror for C.f1 (bound to an instance of C) -field mirror for C.f2 (bound to an instance of C) -method mirror for C.m1: Int (bound to an instance of C) -method mirror for C.m2(): Int (bound to an instance of C) -method mirror for C.m3[T >: String <: Int]: T (bound to an instance of C) -method mirror for C.m4[A, B <: A[Int]](x: A[B])(implicit y: Int): Nothing (bound to an instance of C) -method mirror for C.m5(x: => Int, y: Int*): String (bound to an instance of C) +field mirror for private[this] val f1: Int (bound to an instance of C) +field mirror for private[this] var f2: Int (bound to an instance of C) +method mirror for def m1: Int (bound to an instance of C) +method mirror for def m2(): Int (bound to an instance of C) +method mirror for def m3[T >: String <: Int]: T (bound to an instance of C) +method mirror for def m4[A[_], B <: A[Int]](x: A[B])(implicit y: Int): Nothing (bound to an instance of C) +method mirror for def m5(x: => Int,y: Int*): String (bound to an instance of C) class mirror for C.C (bound to an instance of C) module mirror for C.M (bound to an instance of C) -constructor mirror for C.<init>(): C (bound to null) -constructor mirror for C.C.<init>(): C.this.C (bound to an instance of C) +constructor mirror for def <init>(): C (bound to null) +constructor mirror for def <init>(): C.this.C (bound to an instance of C) |