[bug #46418] NSPredicate is missing a predicateWithBlock implementation

Niels Grewe <[email protected]>
Newsgroups gmane.comp.lib.gnustep.bugs
Message-ID <[email protected]>
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.