You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
swift-ci opened this issue
Nov 30, 2017
· 5 comments
Assignees
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.CodableArea → standard library: `Codable` and co.compilerThe Swift compiler in itself
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.CodableArea → standard library: `Codable` and co.compilerThe Swift compiler in itself
Attachment: Download
Environment
Xcode version 9.1 (9B55), Swift 4
Additional Detail from JIRA
md5: d6bee7e70cb8a9e38370c83d2289707c
duplicates:
Issue Description:
Accessing computed property with optional type may result in EXC_BAD_ACCESS crash
or more complex unexpected behavior in case additional methods are implemented in the class.
. Conditions:
1. Base class that confirms to Encodable protocol.
2. Subclass with a computed optional property that inherits from the base class.
3. Both classes in a different file than UIViewController that uses them.
4. Conditional binding to computed property.
Please check demo project attached.
The text was updated successfully, but these errors were encountered: