From 8d9ca01cf51cbe139960fbb83aaeed2a72db8db3 Mon Sep 17 00:00:00 2001 From: Sam Tobin-Hochstadt Date: Mon, 16 Jun 2008 16:34:09 -0400 Subject: [PATCH] Source location in synthetic module begin. original commit: 055eb3cd0b2b1f57d79808c40e3dc5566b94d65b --- collects/typed-scheme/typed-scheme.ss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/collects/typed-scheme/typed-scheme.ss b/collects/typed-scheme/typed-scheme.ss index f01ba63b..63fc8ba7 100644 --- a/collects/typed-scheme/typed-scheme.ss +++ b/collects/typed-scheme/typed-scheme.ss @@ -70,8 +70,9 @@ ;; local-expand the module ;; pmb = #%plain-module-begin [with-syntax ([new-mod - (local-expand #`(#%plain-module-begin - forms ...) + (local-expand (syntax/loc stx + (#%plain-module-begin + forms ...)) 'module-begin null)])] [with-syntax ([(pmb body2 ...) #'new-mod])]