Re: [swift-dev] "For" loop iterator and "enum"

2017-10-27 Thread Joe Groff via swift-dev
> On Oct 24, 2017, at 8:32 AM, Sam Ding via swift-dev > wrote: > > Hi, > > It is found that "for" loop iterate and "enum" does not work on s390x. > Here is a sample code: > enum IntKey : Int { > case a = 3 > case b = 4 // Implicitly 4 > case c = 1 > } > for ( a1, a2) in [(IntKey.a, 1)] { > pr

[swift-dev] "For" loop iterator and "enum"

2017-10-24 Thread Sam Ding via swift-dev
Hi, It is found that "for" loop iterate and "enum" does not work on s390x. Here is a sample code: enum IntKey : Int { case a = 3 case b = 4 // Implicitly 4 case c = 1 } for ( a1, a2) in [(IntKey.a, 1)] { print ("+ test \n") } T