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