{"push_id":1044592684,"size":3,"distinct_size":3,"ref":"refs/heads/swift-2.2-branch","head":"50c4bd12dbf65a77822a0735fdb34f97c99964bb","before":"a9ccd022652a2e064a07718d49af189145bc1289","commits":[{"sha":"fd20da3440b16b6285249c209a22b8449c0ea46e","author":{"email":"1b4bc63cf9790c932e8467eff6bcebe1944a98d7@apple.com","name":"Slava Pestov"},"message":"Runtime: Fix problems with nil-to-nil casts\n\nWe have a special rule that Optional<T>.none successfully dynamically casts\nto Optional<U>.none for any T and U. However the implementation was incorrect\nif the source and destination types had a different size. We would initialize\nthe source to nil, and then copy to the result.\n\nThe correct implementation is to initialize the result using the result\npayload type directly, and not call _succeed() at all.\n\nFixes <https://bugs.swift.org/browse/SR-1056>.","distinct":true,"url":"https://api.github.com/repos/apple/swift/commits/fd20da3440b16b6285249c209a22b8449c0ea46e"},{"sha":"e3411b106437b78a3c1cab772d7e4b0b12c7c397","author":{"email":"6050ac38e168b9c48bd260f485ec2f5d125e78d6@apple.com","name":"Andrew Trick"},"message":"SR-912: Runtime exception casting an Any nil to an Optional.\n\nThis is a simple runtime fix for the following case:\n\nfunc cast<U>(t: Any) -> U {\n  return t as! U\n}\ncast(nil as Int?) as Int?","distinct":true,"url":"https://api.github.com/repos/apple/swift/commits/e3411b106437b78a3c1cab772d7e4b0b12c7c397"},{"sha":"50c4bd12dbf65a77822a0735fdb34f97c99964bb","author":{"email":"cd8c339e5d347fa8a115ac188d380e9ee64449d2@apple.com","name":"Ted Kremenek"},"message":"Merge pull request #1948 from slavapestov/cast-fix-2.2\n\nRuntime: Fix problems with nil-to-nil casts","distinct":true,"url":"https://api.github.com/repos/apple/swift/commits/50c4bd12dbf65a77822a0735fdb34f97c99964bb"}]}