Commits

Doug Gregor committed fb93d14aec5
Generalize downcasting through an Objective-C class to a bridged value type. 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