summaryrefslogtreecommitdiff
path: root/test/files/run/t6223.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-10-29 12:36:33 -0700
committerPaul Phillips <paulp@improving.org>2012-10-29 16:39:10 -0700
commit1841114e6cbb1ab4e3ad6abcd17b0bc9ebef0481 (patch)
tree95f80c7aa60dfe55ca03691d7bb5289254183a94 /test/files/run/t6223.scala
parentb480d991072e6e68ed46574d87e4483da778ff0e (diff)
downloadscala-1841114e6cbb1ab4e3ad6abcd17b0bc9ebef0481.tar.gz
scala-1841114e6cbb1ab4e3ad6abcd17b0bc9ebef0481.tar.bz2
scala-1841114e6cbb1ab4e3ad6abcd17b0bc9ebef0481.zip
An option for real repl output.
There have been many requests to expose the products of the repl in some way outside in-memory. This does that. scala # usual in-memory behavior scala -Yrepl-outdir "" # make up a temp dir scala -Yrepl-outdir /foo/bar # use /foo/bar
Diffstat (limited to 'test/files/run/t6223.scala')
-rw-r--r--test/files/run/t6223.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/t6223.scala b/test/files/run/t6223.scala
index 4ab7c832e6..fb176e32e6 100644
--- a/test/files/run/t6223.scala
+++ b/test/files/run/t6223.scala
@@ -5,7 +5,7 @@ class Foo[@specialized(Int) A](a:A) {
object Test {
def main(args:Array[String]) {
val f = new Foo(333)
- val ms = f.getClass().getDeclaredMethods()
+ val ms = f.getClass().getDeclaredMethods().sortBy(_.getName)
ms.foreach(m => println(m.getName))
}
}