racket / scribble

Other
197 stars 91 forks source link

lp2 unbound identifier in quasisyntax #254

Closed camoy closed 4 years ago

camoy commented 4 years ago
#lang scribble/lp2

@chunk[<everything>
(require (for-syntax racket/base racket/math))
(begin-for-syntax #`#,pi)]

Gives an unbound identifier in: pi error. Interestingly, this does not error for quasiquote, only quasisyntax.

sorawee commented 4 years ago

I think this is not a bug. You can use CHUNK so that unsyntax is not used for the escape mechanism.

camoy commented 4 years ago

Thanks @sorawee, not sure how I missed that form...