REPL exception handler should return for non-&serious conditions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ikarus Scheme |
Fix Committed
|
Medium
|
Abdulaziz Ghuloum |
Bug Description
... to be congruent with R6RS requiring the default exception handler to return for non-&serious.
When porting R5RS code that semi-often reports warnings, I found reason to raise-continuable R6RS's &warning instead of just printing a warning message. When I use the library under Ikarus's REPL, these &warning exceptions cause the REPL to reset, but the code should continue running.
I've tried this out:
=== modified file 'scheme/
--- scheme/
+++ scheme/
@@ -69,11 +69,12 @@
(lambda (k)
- (reset-input-port! (console-
- (k (void)))
+ (when (serious-condition? con)
+ (reset-input-port! (console-
+ (k (void))))
(let ([x (my-read k)])
Related branches
Changed in ikarus: | |
importance: | Undecided → Medium |
Changed in ikarus: | |
assignee: | nobody → aghuloum |
status: | New → Confirmed |
Changed in ikarus: | |
milestone: | none → 0.0.4 |
Bump :) This is preventing me from fully working with my SXML port in the REPL.