scripts choke when a definition follows an expression

Bug #159403 reported by Abdulaziz Ghuloum on 2007-11-01
2
Affects Status Importance Assigned to Milestone
Ikarus Scheme
Critical
Abdulaziz Ghuloum
r6rs-libraries
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
Abdulaziz Ghuloum (aghuloum) wrote :

Fixed in revision 968.

Changed in r6rs-libraries:
status: Confirmed → Fix Committed
status: Fix Committed → Confirmed
Abdulaziz Ghuloum (aghuloum) wrote :

Fixed in revision 968.

Changed in ikarus:
status: Confirmed → Fix Committed
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  Edit
Everyone can see this information.

Other bug subscribers