From b08a2a652fa1c436c71356f7ca75017e3fd9fdb8 Mon Sep 17 00:00:00 2001 From: Lukas Rytz Date: Thu, 28 Jan 2010 10:26:00 +0000 Subject: close #2886 (applied patch). no review --- test/files/run/t2886.scala | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/files/run/t2886.scala (limited to 'test/files/run/t2886.scala') 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) + } +} -- cgit v1.2.3