Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.gnustep.bug > #4103

[bug #46418] NSPredicate is missing a predicateWithBlock implementation

From Niels Grewe <INVALID.NOREPLY@gnu.org>
Newsgroups gnu.gnustep.bug
Subject [bug #46418] NSPredicate is missing a predicateWithBlock implementation
Date 2016-03-09 14:10 +0000
Message-ID <mailman.7139.1457532616.843.bug-gnustep@gnu.org> (permalink)
References (1 earlier) <20160308-222740.sv337.89484@savannah.gnu.org> <20160309-105932.sv69275.8610@savannah.gnu.org> <20160309-132216.sv69275.31063@savannah.gnu.org> <20160309-132558.sv69275.59673@savannah.gnu.org> <20160309-140237.sv337.22619@savannah.gnu.org>

Show all headers | View raw


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/

Back to gnu.gnustep.bug | Previous | Next | Find similar


Thread

[bug #46418] NSPredicate is missing a predicateWithBlock implementation Niels Grewe <INVALID.NOREPLY@gnu.org> - 2016-03-09 14:10 +0000

csiph-web