[racket] Circular dependency error message

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Thu Jun 7 00:29:54 EDT 2012

Yes, I'll fix that. Thanks!

At Wed, 6 Jun 2012 11:04:14 +0200, Tobias Hammer wrote:
> 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
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users

Posted on the users mailing list.