The Racket repository
Go to file
Matthew Flatt 03c5a46331 fix `lazy-require' in phase levels other than 0
The `lazy-require' form expands to `define-runtime-module-path-index',
whch doesn't work right at phase levels other than 0. Work around the
problem by generating a submodule to hold the
`define-runtime-module-path-index' form.

This repair fixes `raco exe' on certain uses of `match', which in turn
uses `lazy-require' at compile time.

Also, use `register-external-module' to generate appropriate
dependencies on lazily loaded modules.

original commit: 6b16679b39
2012-11-11 09:38:16 -07:00
collects fix `lazy-require' in phase levels other than 0 2012-11-11 09:38:16 -07:00