[Swift-devel] hanging workflow

Ben Clifford benc at hawaga.org.uk
Mon Apr 30 11:27:08 CDT 2007



On Mon, 30 Apr 2007, Yong Zhao wrote:

> We talked about this a couple of times, one (not so intuitive) solution is
> to put the assignments into a procedure, then the array will be closed
> when exiting the procedure.

OK, I just tried that. The workflow runs to completion.

It looks very unpleasant for a tutorial perspective. Putting things into a 
procedure shouldn't cause more stuff to happen than if the procedure code 
was inlined.

> The other way is to actively figure out when to close the array, which 
> is not trivial.

Not trivial, but possibly what needs to happen fairly soon.

-- 



More information about the Swift-devel mailing list