Re: [racket-users] reference before definition vs unbound

2017-03-15 Thread Jay McCarthy
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

[racket-users] reference before definition vs unbound

2017-03-15 Thread 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? e.g.: asdf: undefined; cannot reference an identifier before its definition in module: