[Issue 6490] countUntil will take a non-range for its second argument
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Sun Aug 14 03:43:44 PDT 2011
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=6490
klickverbot <code at klickverbot.at> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code at klickverbot.at
--- Comment #1 from klickverbot <code at klickverbot.at> 2011-08-14 03:43:43 PDT ---
Are you sure that this is a bug? The documentation says that it counts until
haystack.startsWith!pred(needle) is true, and startsWith is also defined for
single element needles. You are right, the usefulness of this behavior is
questionable, though.
-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
    
    
More information about the Digitalmars-d-bugs
mailing list