Contents of opaque records should not be printed

Bug #173382 reported by Abdulaziz Ghuloum on 2007-12-02
Affects Status Importance Assigned to Milestone
Ikarus Scheme
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
Abdulaziz Ghuloum (aghuloum) wrote :

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)
> (define-record-type bar (opaque #f))
> (make-bar)
> ^D

Changed in ikarus:
status: Confirmed → Fix Committed
Abdulaziz Ghuloum (aghuloum) wrote :

This bug report is about to be closed as the fix comitted
previously will be incorporated in the next 0.0.3 release of
Ikarus Scheme, scheduled for January 31, 2008. A release
candidate tarball is available for download from:
Please do test it if you have the time and report any issues
you might encounter. Thank you very much for your support.
(Sorry for the duplicates; I'm updating every open bug.)

Changed in ikarus:
milestone: none → 0.0.3
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

Related questions