revert use of lazy-require' in racket/match' implementation

Using `lazy-require' under `begin-for-syntax' expands to a use of
`define-runtime-path' under `begin'for-syntax'. Unfortunately,
`define-runtime-path' doesn't yet work with `raco exe' when it
appears under `begin-for-syntax'. Although `define-runtime-path'
should be fixed, it may take a while. Meanwhile, reverting the
change allows programs that require `racket/gui/base' to work
with `raco exe'.

There's another `lazy-require' under `begin-for-syntax' that
doesn't seem to cause the same trouble, though.
This commit is contained in:
Matthew Flatt 2012-07-17 13:45:52 -06:00
parent 3b5eb1da41
commit 949d12e2c6

View File

@ -5,11 +5,8 @@
(only-in racket/list append* remove-duplicates)
unstable/sequence
syntax/parse
unstable/lazy-require))
(begin-for-syntax
(lazy-require [racket/match/patterns (bound-vars)]
[racket/match/gen-match (go parse-id go/one)]))
(only-in racket/match/patterns bound-vars)
(only-in racket/match/gen-match go go/one)))
(provide define-forms)