[SR-7647] Property observer called when accessing optional property that conforms to a protocol #50188
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
regression
swift 4.1
Environment
Xcode Version 9.3 (9E145)
Additional Detail from JIRA
md5: ac1cdb69a3a823a91e8553cf1ea6a251
duplicates:
relates to:
Issue Description:
The above example will cause didSet to be called infinitely. This behavior is new and did not appear in previous Swift versions or at least in Swift 4.0.
The text was updated successfully, but these errors were encountered: