From bc1071580203eda3f90433d930739f55a696a131 Mon Sep 17 00:00:00 2001 From: Eugene Burmako Date: Sun, 5 May 2013 15:51:56 +0200 Subject: easy way of writing not implemented macros Even though it's easy to mark regular method bodies as stubs (using ???), there's no simple way of doing the same for macro methods. This patch fixes the inconvenience. --- test/files/pos/macro-qmarkqmarkqmark.check | 0 test/files/pos/macro-qmarkqmarkqmark.scala | 7 +++++++ 2 files changed, 7 insertions(+) create mode 100644 test/files/pos/macro-qmarkqmarkqmark.check create mode 100644 test/files/pos/macro-qmarkqmarkqmark.scala (limited to 'test/files/pos') diff --git a/test/files/pos/macro-qmarkqmarkqmark.check b/test/files/pos/macro-qmarkqmarkqmark.check new file mode 100644 index 0000000000..e69de29bb2 diff --git a/test/files/pos/macro-qmarkqmarkqmark.scala b/test/files/pos/macro-qmarkqmarkqmark.scala new file mode 100644 index 0000000000..a91e4320b6 --- /dev/null +++ b/test/files/pos/macro-qmarkqmarkqmark.scala @@ -0,0 +1,7 @@ +import language.experimental.macros + +object Macros { + def foo1 = macro ??? + def foo2(x: Int) = macro ??? + def foo3[T] = macro ??? +} \ No newline at end of file -- cgit v1.2.3