Перехожу на Swift 4, выдает ошибку "Expression was too complex to be solved in reasonable time; consider breaking up the expression into distinct sub-expressions"
let value =
Int(topLeft.hashValue) |
Int(topRight.hashValue) << 1 |
Int(bottomLeft.hashValue) << 2 |
Int(bottomRight.hashValue) << 3