{"action":"created","issue":{"url":"https://api.github.com/repos/apple/swift/issues/6732","repository_url":"https://api.github.com/repos/apple/swift","labels_url":"https://api.github.com/repos/apple/swift/issues/6732/labels{/name}","comments_url":"https://api.github.com/repos/apple/swift/issues/6732/comments","events_url":"https://api.github.com/repos/apple/swift/issues/6732/events","html_url":"https://github.com/apple/swift/pull/6732","id":200076201,"number":6732,"title":"[Diagnostics] Improve diagnostics for generic types with unfulfilled requirements","user":{"login":"xedin","id":21240,"avatar_url":"https://avatars.githubusercontent.com/u/21240?v=3","gravatar_id":"","url":"https://api.github.com/users/xedin","html_url":"https://github.com/xedin","followers_url":"https://api.github.com/users/xedin/followers","following_url":"https://api.github.com/users/xedin/following{/other_user}","gists_url":"https://api.github.com/users/xedin/gists{/gist_id}","starred_url":"https://api.github.com/users/xedin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xedin/subscriptions","organizations_url":"https://api.github.com/users/xedin/orgs","repos_url":"https://api.github.com/users/xedin/repos","events_url":"https://api.github.com/users/xedin/events{/privacy}","received_events_url":"https://api.github.com/users/xedin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2017-01-11T12:05:54Z","updated_at":"2017-01-12T21:48:13Z","closed_at":"2017-01-12T06:32:25Z","pull_request":{"url":"https://api.github.com/repos/apple/swift/pulls/6732","html_url":"https://github.com/apple/swift/pull/6732","diff_url":"https://github.com/apple/swift/pull/6732.diff","patch_url":"https://github.com/apple/swift/pull/6732.patch"},"body":"This improves diagnostic messages in situations when type is substitutable via it's only requirements,\r\nbut misses on the nested type requirements.\r\n\r\n<!--\r\nBefore merging this pull request, you must run the Swift continuous integration tests.\r\nFor information about triggering CI builds via @swift-ci, see:\r\nhttps://github.com/apple/swift/blob/master/docs/ContinuousIntegration.md#swift-ci\r\n\r\nThank you for your contribution to Swift!\r\n-->"},"comment":{"url":"https://api.github.com/repos/apple/swift/issues/comments/272294296","html_url":"https://github.com/apple/swift/pull/6732#issuecomment-272294296","issue_url":"https://api.github.com/repos/apple/swift/issues/6732","id":272294296,"user":{"login":"slavapestov","id":66486,"avatar_url":"https://avatars.githubusercontent.com/u/66486?v=3","gravatar_id":"","url":"https://api.github.com/users/slavapestov","html_url":"https://github.com/slavapestov","followers_url":"https://api.github.com/users/slavapestov/followers","following_url":"https://api.github.com/users/slavapestov/following{/other_user}","gists_url":"https://api.github.com/users/slavapestov/gists{/gist_id}","starred_url":"https://api.github.com/users/slavapestov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slavapestov/subscriptions","organizations_url":"https://api.github.com/users/slavapestov/orgs","repos_url":"https://api.github.com/users/slavapestov/repos","events_url":"https://api.github.com/users/slavapestov/events{/privacy}","received_events_url":"https://api.github.com/users/slavapestov/received_events","type":"User","site_admin":false},"created_at":"2017-01-12T21:48:13Z","updated_at":"2017-01-12T21:48:13Z","body":"There's a warning in the duplicated code, which is how I noticed:\r\n\r\n```\r\n/Users/spestov/src/swift/lib/Sema/CSDiag.cpp:5764:13: warning: enumeration value 'Layout' not handled in switch [-Wswitch]\r\n    switch (req.getKind()) {\r\n            ^\r\n1 warning generated.\r\n```\r\n\r\nIf you want you can just fix the warning, or you can also clean it up :)"}}
{"actor":{"display_login":"slavapestov"}}