Commits
Doug Gregor committed 9c03b4f9244
Miscellaneous cleanups for array bridging in the type checker. Use protocol conformance checks whenever we want to determine whether a value type is bridged to an Objective-C class, which is simpler and more robust. Clean up some of the type checker code around bridging, using TypeBase::isEqual() to compare types and looking through type sugar more regularly. As part of this, move Array's conformance to _ConditionallyBridgedToObjectiveC into the Foundation overlay. This lets us use NSArray as the bridged type (which is clearer than using CocoaArray), and follows what we're doing for dictionary bridging. As part of this, move Array's bridged-to- Swift SVN r17868