Starter bug: Sequence.flatMap() is missing a @noescape


(Dmitri Gribenko) #1

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@gmail.com>*/


(Meador Inge) #2

Proposal mail here:
https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20151207/001025.html

Cheers,

Meador

···

On Mon, Dec 7, 2015 at 5:02 PM, Dmitri Gribenko via swift-dev < swift-dev@swift.org> wrote:

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