[racket] srcloc in unbound identifier errors
Hi,
most exception for an unknown variable give proper srcloc information, but
inside a submodule with phase > 0 it's missing.
Is there any reason or would it be possible to add?
Tobias
;; --- example ---
#lang racket/base
main-0
;;> error.rkt:4:0: main-0: unbound identifier in module (...)
(begin-for-syntax
main-1)
;;> error.rkt:8:1: main-1: unbound identifier in the transformer
environment; (...)
(module m racket
mod-0
;;> error.rkt:13:2: mod-0: unbound identifier in module (...)
(begin-for-syntax
mod-1))
;;mod-1: undefined;
;; cannot reference an identifier before its definition
;; in module: 'm
;; phase: 1
;; context...:
;; standard-module-name-resolver
--
---------------------------------------------------------
Tobias Hammer
DLR / Robotics and Mechatronics Center (RMC)
Muenchner Str. 20, D-82234 Wessling
Tel.: 08153/28-1487
Mail: tobias.hammer at dlr.de