diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2013-05-05 15:51:56 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2013-05-12 09:19:51 +0200 |
commit | bc1071580203eda3f90433d930739f55a696a131 (patch) | |
tree | e03e68137a005d1a8b46cf735139f6c9defd9734 /test/files/pos/macro-qmarkqmarkqmark.scala | |
parent | aa7568e8161552952ae16e0a5a79ce3ea517abe3 (diff) | |
download | scala-bc1071580203eda3f90433d930739f55a696a131.tar.gz scala-bc1071580203eda3f90433d930739f55a696a131.tar.bz2 scala-bc1071580203eda3f90433d930739f55a696a131.zip |
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.
Diffstat (limited to 'test/files/pos/macro-qmarkqmarkqmark.scala')
-rw-r--r-- | test/files/pos/macro-qmarkqmarkqmark.scala | 7 |
1 files changed, 7 insertions, 0 deletions
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 |