Contents of opaque records should not be printed
Bug #173382 reported by
Abdulaziz Ghuloum
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ikarus Scheme |
Fix Released
|
Wishlist
|
Abdulaziz Ghuloum |
Bug Description
From Derick Eddington:
Since opaque records aren't supposed to reveal their RTD (which prevents inspection) and they can't even be determined with record?, and I'd like to be able to rely on opaque records to enforce security of sensitive information encapsulation, I favor that opaque records print as only #<record>
Changed in ikarus: | |
assignee: | nobody → aghuloum |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
Changed in ikarus: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in revision 1167:
Ikarus Scheme version 0.0.2+ (revision 1167, build 2007-12-02)
Copyright (c) 2006-2007 Abdulaziz Ghuloum
> (define-record-type foo (opaque #t))
> (make-foo)
#<unknown>
> (define-record-type bar (opaque #f))
> (make-bar)
#[bar]
> ^D