[plt-scheme] Issues with expand
I've run into two confusing issues with "expand."
1. Running the module below produces the error "require: broken compiled
code (phase 0, defn-phase 0): cannot find module m in: x."
(module m mzscheme
(define x 42)
(expand #'(module n mzscheme x)))
That cryptic message makes me thing this is a bug.
2. Running this similar module produces the error "expand: unbound variable
in module in: x."
(module m mzscheme
(expand #'(module n mzscheme (define x 42) x)))
However, evaluating this "expand" expression directly from the interactions
prompt is successful.
-Casey