Compiling a module that refers to a binding created by a use of local-expand in a 'module-begin context causes an unhelpful internal error #2458
Labels
macro system
Expander, Syntax Parse, other #lang racket macros
Here’s a Racket program:
This program is arguably evil, I’m not sure, but whether it is or it isn’t, it currently fails with a pretty unhelpful error if you try to run it:
Curiously, the error does not occur during expansion, since
raco expand
expands the module happily, without errors:However, the error is a compile-time error, not a runtime error, since it fails if the program is compiled with
raco make
:The text was updated successfully, but these errors were encountered: