I'm reasonably sure the answer is that the first is a runtime error
and the second is not. I think the runtime error gets a name from
syntax-local-infer-name, but perhaps it could/should also save the
srcloc for the message.
On Wed, Mar 15, 2017 at 5:48 PM, Dan Liebgold
> Hi -
> Is there are a reason the error for referring to an identifier before it's
> definition doesn't get location info, whereas in an otherwise identical case
> the unbound identifier error does?
> asdf: undefined;
> cannot reference an identifier before its definition
> in module: (submod "file.rkt" test)
> file.rkt:87:16: asdf: unbound identifier in module
> in: asdf
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
-=[ Jay McCarthy http://jeapostrophe.github.io ]=-
-=[ Associate Professor PLT @ CS @ UMass Lowell ]=-
-=[ Moses 1:33: And worlds without number have I created; ]=-
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.