Filed as: SR-1487 <https://bugs.swift.org/browse/SR-1487>
> On May 11, 2016, at 1:51 PM, Dmitri Gribenko <[email protected]> wrote: > > On Wed, May 11, 2016 at 1:48 PM, Hooman Mehr via swift-users > <[email protected]> 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 <[email protected]>*/
_______________________________________________ swift-users mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-users
