diff options
author | Paul Phillips <paulp@improving.org> | 2013-01-25 08:55:52 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2013-01-25 08:55:52 -0800 |
commit | ff2ca683cb75b18e8001680aa3ec752929179925 (patch) | |
tree | 6ccff18e549d08fa7a21b11b0930283a96dbea6f /test | |
parent | 8e7d9313e8923afea89bfba859535b3bee74021c (diff) | |
parent | 0a25ee3431d0314c782dd2e6620bc75c4de0d1a4 (diff) | |
download | scala-ff2ca683cb75b18e8001680aa3ec752929179925.tar.gz scala-ff2ca683cb75b18e8001680aa3ec752929179925.tar.bz2 scala-ff2ca683cb75b18e8001680aa3ec752929179925.zip |
Merge pull request #1930 from aztek/ticket/5824
SI-5824 Fix crashes in reify with _*
Diffstat (limited to 'test')
-rw-r--r-- | test/files/run/t5824.check | 1 | ||||
-rw-r--r-- | test/files/run/t5824.scala | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/test/files/run/t5824.check b/test/files/run/t5824.check new file mode 100644 index 0000000000..3774da60e5 --- /dev/null +++ b/test/files/run/t5824.check @@ -0,0 +1 @@ +a b c diff --git a/test/files/run/t5824.scala b/test/files/run/t5824.scala new file mode 100644 index 0000000000..2ad169e2d1 --- /dev/null +++ b/test/files/run/t5824.scala @@ -0,0 +1,8 @@ +import scala.reflect.runtime.universe._ +import scala.tools.reflect.Eval + +object Test extends App { + reify { + println("%s %s %s".format(List("a", "b", "c"): _*)) + }.eval +} |