macro's not working in new interaction-environment

Bug #225323 reported by leppie
2
Affects Status Importance Assigned to Milestone
Ikarus Scheme
Fix Committed
Medium
Abdulaziz Ghuloum

Bug Description

Ikarus Scheme version 0.0.3+ (revision 1460, build 2008-05-01)
Copyright (c) 2006-2008 Abdulaziz Ghuloum

> (import (ironscheme linq))
> (from x in '(1 2 3) select x)
Unhandled exception
 Condition components:
   1. &message: "invalid syntax"
   2. &syntax:
       form: (select x)
       subform: #f

Now we have file 'test.ss':
(import (rnrs))
(import (ironscheme linq))

(write (from x in '(1 2 3) select x))
(newline)

And loading it works fine.

> (load "test.ss")
(1 2 3)

Related branches

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

Can you attach the code that's causing this failure?

Revision history for this message
leppie (leppie) wrote :

Sure :)

I did try a simpler example, but that worked.

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

I get it. The "in" and "select" identifiers are not bound and exported from (ironscheme linq), so, they're supposed to be "free-id=?", but the top-level "forges" bindings for them.

So, if I add in and select to the exports and just (define in #f) and (define select #f), it works.

I'll see what I can do.

Thanks.

Changed in ikarus:
assignee: nobody → aghuloum
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
leppie (leppie) wrote :

Cool :)

Thanks

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

Fixed in 1461. Thanks.

Changed in ikarus:
status: Confirmed → Fix Committed
Revision history for this message
leppie (leppie) wrote :

All working now :)

Thanks

leppie

Revision history for this message
Abdulaziz Ghuloum (aghuloum) wrote : Re: [Bug 225323] Re: macro's not working in new interaction-environment

On May 1, 2008, at 4:39 PM, leppie wrote:
> All working now :)

Cool. Let me know if you see something else that I broke by mistake.

Aziz,,,

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.