<div dir="ltr">Doing a tutorial from RayWenderlich. <a href="https://www.raywenderlich.com/125313/make-game-like-candy-crush-spritekit-swift-part-4">https://www.raywenderlich.com/125313/make-game-like-candy-crush-spritekit-swift-part-4</a><div><br></div><div>I have four bool values: topLeft, bottomLeft, topRight, and bottomRight<br></div><div><div><br></div><div>the following line throws an error: </div><div>let value = Int(topLeft.hashValue) | Int(topRight.hashValue) &lt;&lt; 1 | Int(bottomLeft.hashValue) &lt;&lt; 2 | Int(bottomRight.hashValue) &lt;&lt; 3<br><div><br></div><div>&quot;Expression was too complex to be solved in reasonable time; consider breaking up the expression into distinct sub-expressions.&quot;<br></div><div><br></div><div>This seems like a bug in the compiler, no? Is there actually a way to break that up? </div><div><div><br></div>-- <br><div class="gmail_signature">Nate Birkholz</div>
</div></div></div></div>