I have run into a few situations lately where I would really
appreciate stack traces for errors in my compile-time code. However,
I can’t figure out how to get errortrace to work with errors that
occur at compile-time. For example, here’s a simple program:

  #lang racket

  (begin-for-syntax
    (define (bad-fn x)
      (string-append x 3)))

  (define-syntax foo (bad-fn ""))

If I run this with the following command, without compiling it:

  $ racket -l errortrace -t phase1-error.rkt

…I get an error message with an “errortrace...:” block, but no
actual information in that block.

Is there any way to get stack trace information for these kinds of
errors?

Alexis

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to