Incorrect syntax use causing an internal bug

Bug #172279 reported by Derick Eddington on 2007-11-27
2
Affects Status Importance Assigned to Milestone
Ikarus Scheme
Low
Abdulaziz Ghuloum

Bug Description

Ikarus Scheme version 0.0.2-rc1+ (revision 1133, build 2007-11-26)
Copyright (c) 2006-2007 Abdulaziz Ghuloum

> (define-syntax hmm
    (lambda (stx)
      (syntax-case stx ()
        [(_ x)
         #'(begin (write x) (newline))])))
> (hmm)
Unhandled exception
 Condition components:
   1. &error
   2. &who: condition
   3. &message: "not a condition"
   4. &irritants: ((hmm))

Abdulaziz Ghuloum (aghuloum) wrote :

Is this better? (revision 1136)
Ikarus Scheme version 0.0.2-rc1+ (revision 1136, build 2007-11-27)
Copyright (c) 2006-2007 Abdulaziz Ghuloum

> (define-syntax hmm
    (lambda (stx)
      (syntax-case stx ()
        [(_ x)
         #'(begin (write x) (newline))])))
> (hmm)
Unhandled exception
 Condition components:
   1. &message: "invalid syntax"
   2. &syntax:
       form: (hmm)
       subform: none

Changed in ikarus:
assignee: nobody → aghuloum
importance: Undecided → Low
milestone: none → 0.0.2
status: New → Fix Committed
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