Activity log for bug #433149

Date Who What changed Old value New value Message
2009-09-19 16:58:59 leppie bug added bug
2009-09-19 17:00:24 leppie description Hi Some minor 'extra' syntax that define-record allows, but should not. (protocol) (protocol #f) ; breaks evaluation rule (protocol x x ...) (sealed) (sealed #t x) ; unexpected behavior (sealed x x ...) (opaque) (opaque #t x) ; unexpected behavior (opaque x x ...) Examples of what goes through: (define-record-type foo (protocol)) (define-record-type foo (protocol a b c)) (define-record-type foo (opaque #t 1)) (define-record-type foo (opaque foo)) Unexpected behaviour is just my opinion. :) Cheers leppie Hi Some minor 'extra' syntax that define-record-type allows, but should not. (protocol) (protocol #f) ; breaks evaluation rule (protocol x x ...) (sealed) (sealed #t x) ; unexpected behavior (sealed x x ...) (opaque) (opaque #t x) ; unexpected behavior (opaque x x ...) Examples of what goes through: (define-record-type foo (protocol)) (define-record-type foo (protocol a b c)) (define-record-type foo (opaque #t 1)) (define-record-type foo (opaque foo)) Unexpected behaviour is just my opinion. :) Cheers leppie