racket / macro-debugger

Other
8 stars 16 forks source link

macro stepper derivation error with repeated define-syntax #44

Open rfindler opened 7 months ago

rfindler commented 7 months ago

This program:

#lang racket/base
(require (for-syntax racket/base))
(define-syntax x 1)
(define-syntax x 2)

when given to the macro stepper produces a window with the message "Macro stepper error (derivation) [details]."

The details produces this error:

Internal error:
derivation-parser: error on token #270: <ERROR, #(struct:exn:fail:syntax "module: identifier already defined" #<continuation-mark-set> (#<syntax:6-unsaved-editor:4:15 x>))>