diff options
author | Adriaan Moors <adriaan.moors@epfl.ch> | 2012-07-19 07:15:40 -0700 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@epfl.ch> | 2012-07-19 07:15:40 -0700 |
commit | e75e862006b78d1a159c4ffb6194340492bd2de5 (patch) | |
tree | 8d5b6c155fb31348415c8f1d5e5fdcd0b80dc907 /test/files/run/reflection-magicsymbols.check | |
parent | 19bea8c54eb59808b9780738c59220583ad95c60 (diff) | |
parent | 9117cbee2715ce184829a9f5b1b839240083d166 (diff) | |
download | scala-e75e862006b78d1a159c4ffb6194340492bd2de5.tar.gz scala-e75e862006b78d1a159c4ffb6194340492bd2de5.tar.bz2 scala-e75e862006b78d1a159c4ffb6194340492bd2de5.zip |
Merge pull request #919 from scalamacros/ticket/6086
SI-6086 magic symbols strike back
Diffstat (limited to 'test/files/run/reflection-magicsymbols.check')
-rw-r--r-- | test/files/run/reflection-magicsymbols.check | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/test/files/run/reflection-magicsymbols.check b/test/files/run/reflection-magicsymbols.check deleted file mode 100644 index 2600847d99..0000000000 --- a/test/files/run/reflection-magicsymbols.check +++ /dev/null @@ -1,22 +0,0 @@ -Type in expressions to have them evaluated.
-Type :help for more information.
-
-scala>
-
-scala> import scala.reflect.runtime.universe._
-import scala.reflect.runtime.universe._
-
-scala> class A { def foo(x: Int*) = 1 }
-defined class A
-
-scala> val sig = typeOf[A] member newTermName("foo") typeSignature
-warning: there were 1 feature warnings; re-run with -feature for details
-sig: reflect.runtime.universe.Type = (x: <?>)scala.Int
-
-scala> val x = sig.asInstanceOf[MethodType].params.head
-x: reflect.runtime.universe.Symbol = value x
-
-scala> println(x.typeSignature)
-scala.Int*
-
-scala>
|