{"push_id":1004431178,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"e7ee507af8315597f7d51332aae4bcf5f1386ba5","before":"0d2f5854bc182f9133d824927a9f42ac3207d114","commits":[{"sha":"ea0a2d3b8d3c54c1e2efc9084d2b0c1b838c29b3","author":{"email":"3d0f3b9ddcacec30c4008c5e030e6c13a478cb4f@duan.org","name":"Daniel Duan"},"message":"[Parser][Qol] improve diagnostic with missing \"self.\" in init\n\nThis improvement was reported in\n[SR-852](https://bugs.swift.org/browse/SR-852).\n\nbefore:\n\n```\n$ cat t.swift\nclass A {\n    init(x: Int) {}\n\n    convenience init() { init(x: 1) }\n}\n\n$ swiftc -c t.swift\nt.swift:6:13: error: initializers may only be declared within a type\n    init(x: 1)\n        ^\nt.swift:6:17: error: expected parameter type following ':'\n    init(x: 1)\n            ^\nt.swift:6:17: error: expected ',' separator\n    init(x: 1)\n            ^\n           ,\nt.swift:6:17: error: expected parameter type following ':'\n    init(x: 1)\n            ^\nt.swift:6:17: error: expected ',' separator\n    init(x: 1)\n            ^\n                                                                                                                                                       ,\n```\n\nafter:\n\n```\nt.swift:6:9: error: missing 'self.' at initializer invocation\n    init(x: 1)\n    ^\n    self.\n```","distinct":true,"url":"https://api.github.com/repos/gottesmm/swift/commits/ea0a2d3b8d3c54c1e2efc9084d2b0c1b838c29b3"},{"sha":"e7ee507af8315597f7d51332aae4bcf5f1386ba5","author":{"email":"3d0f3b9ddcacec30c4008c5e030e6c13a478cb4f@duan.org","name":"Daniel Duan"},"message":"Merge pull request #1520 from dduan/SR-852\n\n[Parser][Qol] improve diagnostic with missing \"self.\" in init","distinct":true,"url":"https://api.github.com/repos/gottesmm/swift/commits/e7ee507af8315597f7d51332aae4bcf5f1386ba5"}]}