From e9926a5207aadcfe3831b51b1cd6164757278013 Mon Sep 17 00:00:00 2001 From: Eugene Burmako Date: Fri, 17 Feb 2012 17:10:49 +0100 Subject: Fixes miscellaneous macro bugs --- test/files/neg/macro-noncompilertree.check | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/files/neg/macro-noncompilertree.check (limited to 'test/files/neg/macro-noncompilertree.check') diff --git a/test/files/neg/macro-noncompilertree.check b/test/files/neg/macro-noncompilertree.check new file mode 100644 index 0000000000..616765a39e --- /dev/null +++ b/test/files/neg/macro-noncompilertree.check @@ -0,0 +1,6 @@ +Macros_1.scala:2: error: type mismatch; + found : reflect.mirror.Literal + required: _context.Tree + def macro foo = scala.reflect.mirror.Literal(scala.reflect.mirror.Constant(2)) + ^ +one error found -- cgit v1.2.3