[swift-dev] Starter bug: Sequence.flatMap() is missing a @noescape
    Dmitri Gribenko 
    gribozavr at gmail.com
       
    Mon Dec  7 17:02:06 CST 2015
    
    
  
Hi everyone,
Here's another simple starter bug.
Sequence.flatMap() is missing a @noescape on the closure.
This is a pretty straightforward change, requires an accompanying
test, and a proposal to swift-evolution.
https://bugs.swift.org/browse/SR-126
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>*/
    
    
More information about the swift-dev
mailing list