[racket-dev] no backtrace for error in macro

From: Jon Rafkind (rafkind at cs.utah.edu)
Date: Tue Nov 8 12:30:00 EST 2011

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)




Posted on the dev mailing list.