Index: src/OFObject.m ================================================================== --- src/OFObject.m +++ src/OFObject.m @@ -588,12 +588,14 @@ - (id)performSelector: (SEL)selector { id (*imp)(id, SEL) = (id(*)(id, SEL))[self methodForSelector: selector]; - if OF_UNLIKELY (imp == NULL) + if OF_UNLIKELY (imp == NULL) { [self doesNotRecognizeSelector: selector]; + abort(); + } return imp(self, selector); } - (id)performSelector: (SEL)selector @@ -600,12 +602,14 @@ withObject: (id)object { id (*imp)(id, SEL, id) = (id(*)(id, SEL, id))[self methodForSelector: selector]; - if OF_UNLIKELY (imp == NULL) + if OF_UNLIKELY (imp == NULL) { [self doesNotRecognizeSelector: selector]; + abort(); + } return imp(self, selector, object); } - (id)performSelector: (SEL)selector @@ -613,12 +617,14 @@ withObject: (id)object2 { id (*imp)(id, SEL, id, id) = (id(*)(id, SEL, id, id))[self methodForSelector: selector]; - if OF_UNLIKELY (imp == NULL) + if OF_UNLIKELY (imp == NULL) { [self doesNotRecognizeSelector: selector]; + abort(); + } return imp(self, selector, object1, object2); } - (void)performSelector: (SEL)selector