sealed for record types is not being enforced
Bug #173165 reported by
Derick Eddington
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ikarus Scheme |
Fix Released
|
Medium
|
Abdulaziz Ghuloum |
Bug Description
Ikarus Scheme version 0.0.2+ (revision 1152, build 2007-11-30)
Copyright (c) 2006-2007 Abdulaziz Ghuloum
> (define-record-type thing
(fields (mutable x))
(sealed #t))
> (define t (make-thing 123))
> (record-
#f
> (define-record-type something ;;; should raise &assertion
(fields (mutable y))
(parent thing))
> (define s (make-something 'a 'b))
> (thing? s)
#t
Changed in ikarus: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Will fix soon. Thanks.