|
From: | Niels Grewe |
Subject: | [bug #46418] NSPredicate is missing a predicateWithBlock implementation |
Date: | Wed, 09 Mar 2016 14:10:00 +0000 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/601.4.4 (KHTML, like Gecko) Version/9.0.3 Safari/601.4.4 |
Follow-up Comment #5, bug #46418 (project gnustep): > But ... the second one doesn't pass in OSX-10.11.3 :-( A bug in the OS X implement IMHO (I'm in the process of preparing the bug report): On OS X [predicate evaluateWithObject: o substituationVariables: v] works. It is supposed to be a shorthand for [[predicate predicateWithSubstitutionVariables: v] evaluateWithObject: o] (optimising away the allocation of the intermediary object). It looks like they didn't implement that for block predicates, but we need it to work because we don't have -evaluateWithObject:substitutionVariables: yet. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?46418> _______________________________________________ Nachricht gesendet von/durch Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |