Project which compiles fine in Xcode 8.3.2 shows many compilation errors around comparing optional/non optional value with ==
What I have found is an older proposal for removing coparison <> for the same: https://github.com/apple/swift-evolution/blob/master/proposals/0121-remove-optional-comparison-operators.md
So now in Xcode 9, I can not even compare two optionals:
let xxx: String? = "A"
let yyy: String? = "B"
if xxx == yyy { //ERROR: Ambiguous use of operator '=='
}
Could someone point me to a resource where this would be explained? Or is it just a temporary bug?
Thanks