{"push_id":856547037,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"37216d0c23c1240f015dc8076eda408e024a3a02","before":"e6e5c0836d462c99ac9fc80a7a1f16fb36b7767f","commits":[{"sha":"37216d0c23c1240f015dc8076eda408e024a3a02","author":{"email":"43293424662417ef47778d90f514540cf7a51fae@fb.com","name":"Kasper Kopec"},"message":"Don't return Tany if we indexed an array containing a Tunresolved\n\nSummary: Part of the reason why arrays are typed so poorly is because we give up on\ntracking them so easily. For instance if we have a map like array with mixed\nkeys we will return Tany when you index into it. This is really surprising\nbehavior and leads to lots of bugs especially in strict mode.\n\nI think I understand the rational, since arrays are used in a ton of different\nways just give up instead of reporting an error. With HH_FIXME I think its\nbetter to report an error and have the user explicitly ignore the error.\n\nIf this is seen as too painful there are a few options:\n\nNeither are my preference but curious what others think.\n\nReviewed By: int3, jwatzman\n\nDifferential Revision: D2281048\n\nfb-gh-sync-id: 13fee133ff5ac796241596d6d4a071bfeafaf504","distinct":true,"url":"https://api.github.com/repos/facebook/hhvm/commits/37216d0c23c1240f015dc8076eda408e024a3a02"}]}