swift icon indicating copy to clipboard operation
swift copied to clipboard

[SR-2031] Objective-C generics, as properties on Swift classes, carry no runtime type information

Open jadengeller opened this issue 10 years ago • 2 comments

Previous ID SR-2031
Radar None
Original Reporter @jadengeller
Type Bug

Attachment: Download

Environment

Xcode 8 beta 2

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, Runtime
Assignee None
Priority Medium

md5: ab826ef1c19951fa93c3600962004384

Issue Description:

When the type of a Swift object property is checked in the Objective-C runtime, the type will simply be `@`, lacking the name of the class, if the type is an imported Objective-C generic.

jadengeller avatar Jul 08 '16 19:07 jadengeller

I think this was fixed. At least, our tests no longer fail when I comment out our workaround. Can somebody confirm the status of this issue?

jadengeller avatar Aug 18 '16 00:08 jadengeller

Nevermind, I was just running the wrong tests… Any plan to address this?

jadengeller avatar Aug 18 '16 00:08 jadengeller