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
SR-3871 Protocol passing via objective-c / Any can't be cast back to protocol type
Issue Description:
Swift fails to cast enum into protocol passed into NSViewController as represented object, but successfully casts classes into the same protocol. Below example illustrates the issue.
The text was updated successfully, but these errors were encountered:
This was closed as a dup of SR-3871, but the current implementation actually uses different code paths for these cases. Re-opening and assigning it to myself so I can track these various related dynamic casting issues.
Attachment: Download
Additional Detail from JIRA
md5: caeb040fa8113d028f7c0142618f8e29
duplicates:
Issue Description:
Swift fails to cast enum into protocol passed into NSViewController as represented object, but successfully casts classes into the same protocol. Below example illustrates the issue.
The text was updated successfully, but these errors were encountered: