From 114d52b1f8be07a95125397879b170e8496c0c2e Mon Sep 17 00:00:00 2001 From: Eugene Burmako Date: Wed, 10 Jul 2013 14:52:45 +0200 Subject: macro impls can now return subtypes of c.Tree 10229316db allowed macro impls to take and return values of type c.Tree in addition to the usual c.Expr. However it didn't take into account that it is often useful to return subtypes of trees (e.g. with quasiquotes that expand into expressions typed as precisely as possible). This patch fixes that oversight. --- test/files/run/macro-quasiquotes.check | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/files/run/macro-quasiquotes.check (limited to 'test/files/run/macro-quasiquotes.check') diff --git a/test/files/run/macro-quasiquotes.check b/test/files/run/macro-quasiquotes.check new file mode 100644 index 0000000000..94ebaf9001 --- /dev/null +++ b/test/files/run/macro-quasiquotes.check @@ -0,0 +1,4 @@ +1 +2 +3 +4 -- cgit v1.2.3