[SR-1482] Compare arrays of optionals #44091
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
standard library
Area: Standard library umbrella
Environment
Xcode 7.3.1
Additional Detail from JIRA
md5: 8eb536899e9dcfae3cd643696fb4a68c
relates to:
Issue Description:
The following code is inspired by code I wanted to write for a game of tic-tac-toe:
This code does not compile as the operator == does not work for operands of type [Player?]. As a user of Swift, I would expect this to work, as the operator == does work with operands of type Player?.
The text was updated successfully, but these errors were encountered: