From 0bf9daaac7ab46a3e9dd113565b0073eed95be59 Mon Sep 17 00:00:00 2001 From: Eugene Burmako Date: Mon, 8 Oct 2012 06:30:21 +0200 Subject: SI-6485 stops creating extmethods for macros Macros don't correspond to bytecode-level methods, therefore there's no need to undergo any transformations past typer. --- test/files/pos/t6485a/Macros_1.scala | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test/files/pos/t6485a/Macros_1.scala (limited to 'test/files/pos/t6485a/Macros_1.scala') diff --git a/test/files/pos/t6485a/Macros_1.scala b/test/files/pos/t6485a/Macros_1.scala new file mode 100644 index 0000000000..85c2d5dbdb --- /dev/null +++ b/test/files/pos/t6485a/Macros_1.scala @@ -0,0 +1,5 @@ +import scala.reflect.macros.Context + +object Macros { + def crash(c: Context): c.Expr[Unit] = c.universe.reify(()) +} \ No newline at end of file -- cgit v1.2.3