You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I call syntax-local-make-definition-context within a module's begin-for-syntax, and then I require that module, I get an internal error from the macro expander.
Here's a minimal example of what gets the internal error:
#lang racket
(module A racket
(begin-for-syntax
(syntax-local-make-definition-context)))
(require'A)
. internal error: no box to accumulate definition-context scopes
I'm on Racket version 6.90.0.28.
The error seems to be coming from "expand/definition-context.rkt" line 58, if that helps.
Wow, I just ran into a very similar issue and was about to report it when I saw you had already opened this issue. In my case, I was trying to use syntax-local-make-definition-context on the RHS of a let-syntaxes binding, which produces the same error:
When I call
syntax-local-make-definition-context
within a module'sbegin-for-syntax
, and then I require that module, I get an internal error from the macro expander.Here's a minimal example of what gets the internal error:
I'm on Racket version 6.90.0.28.
The error seems to be coming from "expand/definition-context.rkt" line 58, if that helps.
racket/racket/src/expander/expand/definition-context.rkt
Line 58 in 3531cb2
The text was updated successfully, but these errors were encountered: