diff options
author | Lukas Rytz <lukas.rytz@epfl.ch> | 2010-01-28 10:26:00 +0000 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@epfl.ch> | 2010-01-28 10:26:00 +0000 |
commit | b08a2a652fa1c436c71356f7ca75017e3fd9fdb8 (patch) | |
tree | 1d9e2da453f7c54005a52b8dce708faee2a63bce /test/files/run/t2886.scala | |
parent | 6a79e29cd85194e4ebf1bb38732caddd88896925 (diff) | |
download | scala-b08a2a652fa1c436c71356f7ca75017e3fd9fdb8.tar.gz scala-b08a2a652fa1c436c71356f7ca75017e3fd9fdb8.tar.bz2 scala-b08a2a652fa1c436c71356f7ca75017e3fd9fdb8.zip |
close #2886 (applied patch). no review
Diffstat (limited to 'test/files/run/t2886.scala')
-rw-r--r-- | test/files/run/t2886.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/run/t2886.scala b/test/files/run/t2886.scala new file mode 100644 index 0000000000..eb392f0c58 --- /dev/null +++ b/test/files/run/t2886.scala @@ -0,0 +1,7 @@ +object Test { + def test(name: String, address: String) = null + def main(args: Array[String]) = { + val tree = scala.reflect.Code.lift((x:String) => test(address=x,name=x)).tree + println(tree) + } +} |