{"action":"created","issue":{"url":"https://api.github.com/repos/apple/swift/issues/18804","repository_url":"https://api.github.com/repos/apple/swift","labels_url":"https://api.github.com/repos/apple/swift/issues/18804/labels{/name}","comments_url":"https://api.github.com/repos/apple/swift/issues/18804/comments","events_url":"https://api.github.com/repos/apple/swift/issues/18804/events","html_url":"https://github.com/apple/swift/pull/18804","id":351742908,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5MjYwODA5","number":18804,"title":" Runtime support for identity key paths.","user":{"login":"jckarter","id":147281,"node_id":"MDQ6VXNlcjE0NzI4MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/147281?v=4","gravatar_id":"","url":"https://api.github.com/users/jckarter","html_url":"https://github.com/jckarter","followers_url":"https://api.github.com/users/jckarter/followers","following_url":"https://api.github.com/users/jckarter/following{/other_user}","gists_url":"https://api.github.com/users/jckarter/gists{/gist_id}","starred_url":"https://api.github.com/users/jckarter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jckarter/subscriptions","organizations_url":"https://api.github.com/users/jckarter/orgs","repos_url":"https://api.github.com/users/jckarter/repos","events_url":"https://api.github.com/users/jckarter/events{/privacy}","received_events_url":"https://api.github.com/users/jckarter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-08-17T21:23:12Z","updated_at":"2018-08-20T18:03:28Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/apple/swift/pulls/18804","html_url":"https://github.com/apple/swift/pull/18804","diff_url":"https://github.com/apple/swift/pull/18804.diff","patch_url":"https://github.com/apple/swift/pull/18804.patch"},"body":"Make sure the implementation can handle a key path with zero components by removing inappropriate assumptions that the number of components is always non-empty. Identity key paths also need some special behavior:\r\n\r\n- Appending an identity key path should be an identity operation for the other operand\r\n- Identity key paths have a `MemoryLayout.offset(of:)` zero\r\n- Identity key paths interop with KVC as key paths to `@\"self\"`\r\n\r\nTo be able to exercise and test this behavior, add a `Builtin.identityKeyPath()` function and `WritableKeyPath._identity` accessor in lieu of finalized syntax.\r\n\r\nrdar://problem/40538312"},"comment":{"url":"https://api.github.com/repos/apple/swift/issues/comments/414408907","html_url":"https://github.com/apple/swift/pull/18804#issuecomment-414408907","issue_url":"https://api.github.com/repos/apple/swift/issues/18804","id":414408907,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDQwODkwNw==","user":{"login":"swift-ci","id":15467072,"node_id":"MDQ6VXNlcjE1NDY3MDcy","avatar_url":"https://avatars0.githubusercontent.com/u/15467072?v=4","gravatar_id":"","url":"https://api.github.com/users/swift-ci","html_url":"https://github.com/swift-ci","followers_url":"https://api.github.com/users/swift-ci/followers","following_url":"https://api.github.com/users/swift-ci/following{/other_user}","gists_url":"https://api.github.com/users/swift-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/swift-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swift-ci/subscriptions","organizations_url":"https://api.github.com/users/swift-ci/orgs","repos_url":"https://api.github.com/users/swift-ci/repos","events_url":"https://api.github.com/users/swift-ci/events{/privacy}","received_events_url":"https://api.github.com/users/swift-ci/received_events","type":"User","site_admin":false},"created_at":"2018-08-20T18:03:28Z","updated_at":"2018-08-20T18:03:28Z","author_association":"CONTRIBUTOR","body":"**Build failed**\n[Swift Test Linux Platform](https://ci.swift.org/job/swift-PR-Linux/6945/)\nGit Sha - 49b6a092de6deae0f3e7a09675151417d64a7e02\n"}}
{"actor":{"display_login":"swift-ci"}}