scripts choke when a definition follows an expression

Bug #159403 reported by Abdulaziz Ghuloum
2
Affects Status Importance Assigned to Milestone
Ikarus Scheme
Fix Released
Critical
Abdulaziz Ghuloum
r6rs-libraries
Confirmed
Critical
Abdulaziz Ghuloum

Bug Description

Andre van Tonder reported that scripts choke when a definition follows an expression.

Sample script which is legal in r6rs but is rejected by ikarus:

  (import (rnrs))
  (display "Hello\n")
  (define (foo) "bye\n")
  (display (foo))

Ikarus produces:

unhandled exception:
 Condition components:
   1. &error
   2. &who: expander
   3. &message: "invalid expression"
   4. &irritants: ((define (foo) "bye\n"))

Instead of displaying:
Hello
bye

Changed in ikarus:
assignee: nobody → aghuloum
importance: Undecided → Critical
status: New → Confirmed
Changed in r6rs-libraries:
assignee: nobody → aghuloum
importance: Undecided → Critical
status: New → Confirmed
Revision history for this message
Abdulaziz Ghuloum (aghuloum) wrote :

Fixed in revision 968.

Changed in r6rs-libraries:
status: Confirmed → Fix Committed
status: Fix Committed → Confirmed
Revision history for this message
Abdulaziz Ghuloum (aghuloum) wrote :

Fixed in revision 968.

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

Targeted for milestone 0.0.2

Changed in ikarus:
milestone: none → 0.0.2
Changed in ikarus:
status: Fix Committed → Fix Released
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.