[plt-scheme] syntax/loc for synthesized location data
At Fri, 27 Feb 2009 11:18:08 -0500, Dave Herman wrote:
> Carl Eastlund wrote:
>
> > I then got different behavior by providing a source other than #f:
> >
> >> (define loc2 (datum->syntax #f 'goodbye (list 'here 100 4 4 5)))
> >> loc2
> > .#<syntax:100:4>
> >> (define stx2 (syntax/loc loc2 (list 5 4 3 2 1)))
> >> stx2
> > .#<syntax:100:4>
>
> Interesting. So do we know whether this is a bug or an undocumented but
> intended invariant? (I'm hoping the former.)
I think it's a bug, and I'll investigate soon.