[racket-dev] paren-shape question

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Sun Mar 25 20:58:29 EDT 2012

On Sun, Mar 25, 2012 at 7:18 PM, Danny Yoo <dyoo at cs.wpi.edu> wrote:
> I'm still somewhat confused, because of the following:  Compare:
>     (syntax/loc #'foo [app op ...])
> vs:
>     (syntax [app op ...])
> The first does not have paren-shape defined, while the second does.
> Is this intentional?

I'm not sure if it is intentional, but it looks like syntax/loc's
implementation is not copying properties over
(racket/private/stxloc.rkt) when it creates the new syntax object with
the adjusted location. I guess it probably should (and it would not be
a difficult change), but probably best to get some consensus that this
is a good change first.


Posted on the dev mailing list.