[swift-users] SubSequence Index bug in generic functions?

Hooman Mehr hooman at mac.com
Wed May 11 16:36:10 CDT 2016


Filed as: SR-1487 <https://bugs.swift.org/browse/SR-1487>

> On May 11, 2016, at 1:51 PM, Dmitri Gribenko <gribozavr at gmail.com> wrote:
> 
> On Wed, May 11, 2016 at 1:48 PM, Hooman Mehr via swift-users
> <swift-users at swift.org> wrote:
>> The reason this is appearing here before filing a radar is getting a quick
>> feedback as I have been assuming this is the expected behavior but Nate Cook
>> told me otherwise. See this thread for the initial discussion that lead to
>> this.
> 
> Hi Hooman,
> 
> This is a bug in String indices.  Could you file it, we will look into it.
> 
> Dmitri
> 
> -- 
> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160511/443ad508/attachment.html>


More information about the swift-users mailing list