From 35e676ded0f9bfd006a5f090841abdea3ff1759c Mon Sep 17 00:00:00 2001 From: Eugene Burmako Date: Fri, 20 Jan 2012 01:52:40 +0100 Subject: Progress with macros A short recap: * Macro expansion now works finely for instance macro invocations * Macros are now hidden behind -Xmacros * Bodies of macros now have "import _context._" in their preamble * Macros are now loaded from classpath, much like regular libraries * Macros can now override methods (in that case macro expansion does not crash if macro is not found, it just falls back to super) Review by @odersky. --- test/files/pos/macros.flags | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/files/pos') diff --git a/test/files/pos/macros.flags b/test/files/pos/macros.flags index e1b37447c9..7fea2ff901 100644 --- a/test/files/pos/macros.flags +++ b/test/files/pos/macros.flags @@ -1 +1 @@ --Xexperimental \ No newline at end of file +-Xmacros \ No newline at end of file -- cgit v1.2.3