diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2012-10-03 23:15:24 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-10-03 23:56:16 +0200 |
commit | d6bbf9bb9c8d0bd74abe47a1c2f4be66e0c19c03 (patch) | |
tree | ad72bc69fc1c3d43a082ab4a5bae124746de2b58 /test/files | |
parent | fb515bca0549cbc84a40b23889d1f038bcb0ef3a (diff) | |
download | scala-d6bbf9bb9c8d0bd74abe47a1c2f4be66e0c19c03.tar.gz scala-d6bbf9bb9c8d0bd74abe47a1c2f4be66e0c19c03.tar.bz2 scala-d6bbf9bb9c8d0bd74abe47a1c2f4be66e0c19c03.zip |
removes EmptyTermName and EmptyTypeName
We have nme.EMPTY and tpnme.EMPTY for that.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/run/macro-reflective-mamd-normal-mi/Macros_Test_2.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/macro-reflective-mamd-normal-mi/Macros_Test_2.scala b/test/files/run/macro-reflective-mamd-normal-mi/Macros_Test_2.scala index 089f30f389..adecfcff17 100644 --- a/test/files/run/macro-reflective-mamd-normal-mi/Macros_Test_2.scala +++ b/test/files/run/macro-reflective-mamd-normal-mi/Macros_Test_2.scala @@ -11,7 +11,7 @@ object Test extends App { val macrobody = Select(Ident(newTermName("Impls")), newTermName("foo")) val macroparam = ValDef(NoMods, newTermName("x"), TypeTree(definitions.IntClass.toType), EmptyTree) val macrodef = DefDef(Modifiers(MACRO), newTermName("foo"), Nil, List(List(macroparam)), TypeTree(), macrobody) - val modulector = DefDef(NoMods, nme.CONSTRUCTOR, Nil, List(List()), TypeTree(), Block(Apply(Select(Super(This(EmptyTypeName), EmptyTypeName), nme.CONSTRUCTOR), List()))) + val modulector = DefDef(NoMods, nme.CONSTRUCTOR, Nil, List(List()), TypeTree(), Block(Apply(Select(Super(This(tpnme.EMPTY), tpnme.EMPTY), nme.CONSTRUCTOR), List()))) val module = ModuleDef(NoMods, newTermName("Macros"), Template(Nil, emptyValDef, List(modulector, macrodef))) val macroapp = Apply(Select(Ident("Macros"), newTermName("foo")), List(Literal(Constant(42)))) val tree = Block(macrodef, module, macroapp) |