From 6531ce7547839fe0648ea1f1450a16a0104dd3f5 Mon Sep 17 00:00:00 2001 From: Jon Rafkind Date: Mon, 2 Apr 2012 23:11:39 -0600 Subject: [PATCH] [honu] use a local macro inside a where expression --- collects/tests/honu/where.honu | 3 +++ 1 file changed, 3 insertions(+) diff --git a/collects/tests/honu/where.honu b/collects/tests/honu/where.honu index dfbefbd590..def96d2214 100644 --- a/collects/tests/honu/where.honu +++ b/collects/tests/honu/where.honu @@ -12,3 +12,6 @@ varwhere { printf("x is ~a\n", x) x * 2 } } where x = 2 + 1 + +varwhere { macro foo(){ z:expression }{ syntax(x + z) } + foo 5 } where x = 2 * 8