[Swift-user] what is wrong with restart5.swift?

Mihael Hategan hategan at mcs.anl.gov
Sun May 25 13:58:03 CDT 2008


Hmm. 07511 fails for me:
expecting 07511-fixed-array-mapper-input.*.expected
07511-fixed-array-mapper-input.*.expected does not exist


On Sun, 2008-05-25 at 18:03 +0000, Ben Clifford wrote:
> On Sun, 25 May 2008, Mihael Hategan wrote:
> 
> > However, I do have a question. Given that such a usage scenario is not 
> > uncommon, how come we've never seen this before?
> 
> I'm not sure how common two foreach loops in a row are in real usage. I 
> think I'd tend to fold the two loops into a single block if I was doing 
> something for real.
> 
> Brief playing about seems to suggest it happens with foreach loops where 
> the input array is generated over time but not from a range specification 
> eg [1:100] or from an input dataset.
> 
> Plus it might be a regression.
> 




More information about the Swift-user mailing list