diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2012-04-14 10:33:10 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-04-14 11:33:56 +0200 |
commit | 0ba3d542cc236ab2dbed3dc551920ede94787a0c (patch) | |
tree | 9e7e6e0c26a8d2f8e5b62fbf2a609349acbd8855 /test/files/run/t2886.scala | |
parent | 3a2901da406f2478b5634b0636e56de9c4cd676d (diff) | |
download | scala-0ba3d542cc236ab2dbed3dc551920ede94787a0c.tar.gz scala-0ba3d542cc236ab2dbed3dc551920ede94787a0c.tar.bz2 scala-0ba3d542cc236ab2dbed3dc551920ede94787a0c.zip |
restores some disabled macro tests, makes checkFeature synchronous when used for macros
Diffstat (limited to 'test/files/run/t2886.scala')
-rw-r--r-- | test/files/run/t2886.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/run/t2886.scala b/test/files/run/t2886.scala new file mode 100644 index 0000000000..e0835a0a44 --- /dev/null +++ b/test/files/run/t2886.scala @@ -0,0 +1,9 @@ +import scala.reflect.mirror._ + +object Test { + def test(name: String, address: String) = null + def main(args: Array[String]) = { + val tree = reify((x:String) => test(address=x,name=x)).tree + println(tree) + } +} |