Opened 3 years ago

Last modified 20 months ago

#1166 new defect

Globally defining an identifier previously bound to a macro should shadow the macro fully

Reported by: sjamaan Owned by: sjamaan
Priority: major Milestone: 5.1
Component: expander Version:
Keywords: Cc:
Estimated difficulty: hard


Pointed out by Michele La Monaca: CHICKEN behaves a little too inconsistent wrt scoping:

(define begin -)
(begin 0 1) => 1  ;; expected: -1

It would make more sense if the macro was erased from the environment.

It's probably doable, but in order to make this work the way environments are handled need to be completely overhauled.

Change History (2)

comment:1 Changed 2 years ago by sjamaan

  • Milestone changed from someday to 5.1

comment:2 Changed 20 months ago by sjamaan

  • Estimated difficulty set to hard
Note: See TracTickets for help on using tickets.