parameterize with no parameters is broken for internal defines

Bug #261381 reported by Derick Eddington
2
Affects Status Importance Assigned to Milestone
Ikarus Scheme
Fix Committed
Low
Abdulaziz Ghuloum

Bug Description

Ikarus Scheme version 0.0.3+ (revision 1587, build 2008-08-17)
Copyright (c) 2006-2008 Abdulaziz Ghuloum

> (list (parameterize () (define x 1) x))
Unhandled exception
 Condition components:
   1. &who: define
   2. &message: "a definition was found where an expression was expected"
   3. &syntax:
       form: (define x 1)
       subform: #f
   4. &trace: #<syntax (define x 1)>
> (list (parameterize ([print-graph #t]) (define x 1) x))
(1)
>

Related branches

Revision history for this message
leppie (leppie) wrote :

Looking at the macro definition, it outputs a (begin body...), I think that should be a (let () body ...) rather.

Cheers

leppie

Revision history for this message
Abdulaziz Ghuloum (aghuloum) wrote :

This was fixed some time ago. Thanks.

Changed in ikarus:
assignee: nobody → aghuloum
importance: Undecided → Low
status: New → Fix Committed
Changed in ikarus:
milestone: none → 0.0.4
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.