[swift-users] Expression was too complex to be solved in reasonable time

2017-10-25 Thread Ireland, Evan via swift-users
Nate wrote: > I have four bool values: topLeft, bottomLeft, topRight, and bottomRight > > the following line throws an error: > let value = Int(topLeft.hashValue) | Int(topRight.hashValue) << 1 | > Int(bottomLeft.hashValue) << 2 | Int(bottomRight.hashValue) << 3 > > "Expression was too

Re: [swift-users] Expression was too complex to be solved in reasonable time

2017-10-24 Thread Nate Birkholz via swift-users
Thanks, Slava! On Tue, Oct 24, 2017 at 3:05 PM, Slava Pestov wrote: > > > On Oct 24, 2017, at 3:05 PM, Nate Birkholz via swift-users < > swift-users@swift.org> wrote: > > Doing a tutorial from RayWenderlich. https://www. >

Re: [swift-users] Expression was too complex to be solved in reasonable time

2017-10-24 Thread Slava Pestov via swift-users
> On Oct 24, 2017, at 3:05 PM, Nate Birkholz via swift-users > wrote: > > Doing a tutorial from RayWenderlich. > https://www.raywenderlich.com/125313/make-game-like-candy-crush-spritekit-swift-part-4 > >

[swift-users] Expression was too complex to be solved in reasonable time

2017-10-24 Thread Nate Birkholz via swift-users
Doing a tutorial from RayWenderlich. https://www.raywenderlich.com/125313/make-game-like-candy-crush-spritekit-swift-part-4 I have four bool values: topLeft, bottomLeft, topRight, and bottomRight the following line throws an error: let value = Int(topLeft.hashValue) | Int(topRight.hashValue) <<