[racket] Circular dependency error message
Hi,
would it, maybe as part of the current error message overhauling, be
possible
to make the error message for cyclic requires more useful.
It is currently truncated at an arbitrary length, that is often not enough
to
show a full cycle. That makes it unnecessary hard to track down these
problem.
Example:
Files f[1-4].rkt that each require the next one:
user at home:~/tmp/racket-testing/trunc-error-recursive$ racket f1.rkt
standard-module-name-resolver: cycle in loading at
#<path:/home/user/tmp/racket-testing/trunc-error-recursive/f1.rkt>:
(#<path:/home/user/tmp/racket-testing/trunc-error-recursive/f1.rkt>
#<path:/home/user/tmp/racket-testing/trunc-error-recursive/f2.rkt>
#<path:/home/user/tmp/racket-testing/trunc-error-recursive/f3.rkt>
#<path:/home/user/tmp/racket-testing/tr...
context:
standard-module-name-resolver
....
Tobias
--
---------------------------------------------------------
Tobias Hammer
DLR / Institute of Robotics and Mechatronics
Tel.: 08153/28-1487
Mail: tobias.hammer at dlr.de