scripts choke when a definition follows an expression
Bug #159403 reported by
Abdulaziz Ghuloum
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 |
Changed in ikarus: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in revision 968.