[racket] missing error location info in racket

From: Jose A. Ortega Ruiz (jao at gnu.org)
Date: Sun Aug 29 19:04:54 EDT 2010

In Racket 5.0.1, with, say, f.rkt containing:

   #lang racket
   (provide bar)
   (define (foo x) x)
   (define (bar) (foo))

requiring f.rkt at racket's textual REPL via `(require (file "f.rkt"))'
works fine (as expected) and calling `(bar)' gives an error (again as
expected); but the error message does not include any location
information (neither the file nor the line):

> (bar)
procedure foo: expects 1 argument, given 0

 === context ===
/usr/local/plt/collects/racket/private/misc.rkt:74:7

> 

I'm not sure if this is a regression, but, anyway, i was expecting that
information in the error message.

Cheers,
jao



Posted on the users mailing list.