summaryrefslogtreecommitdiff
path: root/test/files/run/macro-invalidusage-partialapplication-with-tparams.check
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2012-06-06 02:05:10 +0200
committerEugene Burmako <xeno.by@gmail.com>2012-06-08 15:23:11 +0200
commit1708a7fffdb653a638927c2b4ff30a7a0be0f3fe (patch)
tree1d270cc0b3c4a7424f2444a4d1dca460699abb6a /test/files/run/macro-invalidusage-partialapplication-with-tparams.check
parentfb67a1d3aea159fd39e5c0fad14ffa089a5d6ba5 (diff)
downloadscala-1708a7fffdb653a638927c2b4ff30a7a0be0f3fe.tar.gz
scala-1708a7fffdb653a638927c2b4ff30a7a0be0f3fe.tar.bz2
scala-1708a7fffdb653a638927c2b4ff30a7a0be0f3fe.zip
macros: refactoring of fast track infrastructure
As a result, hardwired macros don't need implementation stubs. This is very important, because in a few commits scala.reflect.makro.Context will move out from scala-library.jar. Also adding fast track entries doesn't require jumping through hoops with PDTs. It's as simple as defining PartialFunction[Tree, Any].
Diffstat (limited to 'test/files/run/macro-invalidusage-partialapplication-with-tparams.check')
-rw-r--r--test/files/run/macro-invalidusage-partialapplication-with-tparams.check3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/files/run/macro-invalidusage-partialapplication-with-tparams.check b/test/files/run/macro-invalidusage-partialapplication-with-tparams.check
new file mode 100644
index 0000000000..73f57b0b81
--- /dev/null
+++ b/test/files/run/macro-invalidusage-partialapplication-with-tparams.check
@@ -0,0 +1,3 @@
+reflective compilation has failed:
+
+macros cannot be partially applied