mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Rather than only allowing downcasting from AnyObject, allow it for any class or Objective-C existential type, e.g., "NSArray() as Int[]". While here, reduce our reliance on implicit conversions when checking bridging. This is most of <rdar://problem/16972956>, but 'is' still doesn't work properly in these cases. Swift SVN r18693
121 KiB
121 KiB