Summary

coops#subclass? can process abort

Metadata

Description

(use coops) (subclass? 'not-a-class! <standard-class>) ;=> Bus error (MacOS 10.5)

The `c1' argument is interpreted as a class w/o determining the safety.

Maybe: ((memq c2 (slot-value c1 'class-precedence-list)) #t)

 =>

((and (coops-instance? c1) (memq c2 (slot-value c1 'class-precedence-list))) #t)

Changes and comments

[2010-08-06 10:00:51 UTC] felix changed status from new to accepted

[2010-08-06 10:00:51 UTC] felix changed component from unknown to extensions

[2010-08-06 10:00:51 UTC] felix changed priority from major to critical

[2010-08-06 10:00:51 UTC] felix set owner to felix

[2010-08-06 10:00:51 UTC] felix removed milestone 4.6.0

[2010-08-06 10:00:51 UTC] felix set keywords to coops

[2010-08-06 10:58:08 UTC] felix changed status from accepted to closed

[2010-08-06 10:58:08 UTC] felix set resolution to fixed

[2010-08-06 10:58:08 UTC] felix wrote:

I added a type-check in `slot-lookup`. Thanks for reporting this.