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

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.

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>*/

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.

[SR-126] Sequence.flatMap() is missing a @noescape · Issue #42748 · apple/swift · GitHub