Commits

Doug Gregor committed 21dcd078464
Extend the optional-injection-of-erroneous-nil hack for more entities. r21096 introduces an optimization barrier for failing initializers that allows the pattern let x: NSFoo? = NSFoo() be used to detect whether NSFoo() returned nil, even though the type system says it cannot. Extend this check to Objective-C methods and properties, where the non-optional annotation may be incorrect <rdar://problem/17984530>. Swift SVN r21176