[racket-dev] no backtrace for error in macro

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Tue Nov 8 12:41:46 EST 2011

This is a change I made recently and I put a rationale and explanation
in the commit message here:

  http://git.racket-lang.org/plt/commit/e1ce0a0d1e6120354ace65dc3fda76d0442fb3a1

Robby

On Tue, Nov 8, 2011 at 11:30 AM, Jon Rafkind <rafkind at cs.utah.edu> wrote:
> When this program is run in DrRacket the error is displayed in the interactions pane with a backtrace icon next to it but if you click that icon the backtrace window is blank. It would be nice to get some sort of backtrace or I suppose in the worst case no backtrace icon should appear.
>
> #lang racket
>
> (define-syntax (foo stx) (raise-syntax-error 'foo "dont use foo"))
> (define-syntax (bar stx)
>  #'(foo))
>
> (bar)
>
>
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/dev
>



Posted on the dev mailing list.