{"action":"closed","number":236,"pull_request":{"url":"https://api.github.com/repos/apple/swift-evolution/pulls/236","id":64699031,"html_url":"https://github.com/apple/swift-evolution/pull/236","diff_url":"https://github.com/apple/swift-evolution/pull/236.diff","patch_url":"https://github.com/apple/swift-evolution/pull/236.patch","issue_url":"https://api.github.com/repos/apple/swift-evolution/issues/236","number":236,"state":"closed","locked":false,"title":"Making `.self` After `Type` Optional","user":{"login":"tannernelson","id":1342803,"avatar_url":"https://avatars.githubusercontent.com/u/1342803?v=3","gravatar_id":"","url":"https://api.github.com/users/tannernelson","html_url":"https://github.com/tannernelson","followers_url":"https://api.github.com/users/tannernelson/followers","following_url":"https://api.github.com/users/tannernelson/following{/other_user}","gists_url":"https://api.github.com/users/tannernelson/gists{/gist_id}","starred_url":"https://api.github.com/users/tannernelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tannernelson/subscriptions","organizations_url":"https://api.github.com/users/tannernelson/orgs","repos_url":"https://api.github.com/users/tannernelson/repos","events_url":"https://api.github.com/users/tannernelson/events{/privacy}","received_events_url":"https://api.github.com/users/tannernelson/received_events","type":"User","site_admin":false},"body":"Repost of #197 after having a positive community discussion in swift-evo.\r\n\r\n# Making `.self` After `Type` Optional\r\n\r\n## Introduction\r\n\r\nAllow Types to be passable to functions without needing to explicitly reference `.self`. This is currently allowed for functions with only one parameter. \r\n\r\nHere is the initial [Bug Report](https://bugs.swift.org/browse/SR-899) that led to this proposal. \r\n\r\n## Motivation\r\n\r\nInconsistencies in the requirement of `.self` are confusing to developers. Additionally, the `.self` requirement is unnecessary given Swift's robust type safety and can clutter a clean API.\r\n\r\n...","created_at":"2016-03-30T21:19:27Z","updated_at":"2016-04-30T05:15:39Z","closed_at":"2016-04-30T05:15:38Z","merged_at":null,"merge_commit_sha":"569fd47aa28a7155fee236562578da9e55ea2256","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apple/swift-evolution/pulls/236/commits","review_comments_url":"https://api.github.com/repos/apple/swift-evolution/pulls/236/comments","review_comment_url":"https://api.github.com/repos/apple/swift-evolution/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apple/swift-evolution/issues/236/comments","statuses_url":"https://api.github.com/repos/apple/swift-evolution/statuses/098296aa961cd60512ef0e3a062a4b3dedb9c5a1","head":{"label":"tannernelson:master","ref":"master","sha":"098296aa961cd60512ef0e3a062a4b3dedb9c5a1","user":{"login":"tannernelson","id":1342803,"avatar_url":"https://avatars.githubusercontent.com/u/1342803?v=3","gravatar_id":"","url":"https://api.github.com/users/tannernelson","html_url":"https://github.com/tannernelson","followers_url":"https://api.github.com/users/tannernelson/followers","following_url":"https://api.github.com/users/tannernelson/following{/other_user}","gists_url":"https://api.github.com/users/tannernelson/gists{/gist_id}","starred_url":"https://api.github.com/users/tannernelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tannernelson/subscriptions","organizations_url":"https://api.github.com/users/tannernelson/orgs","repos_url":"https://api.github.com/users/tannernelson/repos","events_url":"https://api.github.com/users/tannernelson/events{/privacy}","received_events_url":"https://api.github.com/users/tannernelson/received_events","type":"User","site_admin":false},"repo":{"id":53435103,"name":"swift-evolution","full_name":"tannernelson/swift-evolution","owner":{"login":"tannernelson","id":1342803,"avatar_url":"https://avatars.githubusercontent.com/u/1342803?v=3","gravatar_id":"","url":"https://api.github.com/users/tannernelson","html_url":"https://github.com/tannernelson","followers_url":"https://api.github.com/users/tannernelson/followers","following_url":"https://api.github.com/users/tannernelson/following{/other_user}","gists_url":"https://api.github.com/users/tannernelson/gists{/gist_id}","starred_url":"https://api.github.com/users/tannernelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tannernelson/subscriptions","organizations_url":"https://api.github.com/users/tannernelson/orgs","repos_url":"https://api.github.com/users/tannernelson/repos","events_url":"https://api.github.com/users/tannernelson/events{/privacy}","received_events_url":"https://api.github.com/users/tannernelson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tannernelson/swift-evolution","description":"This maintains proposals for changes and user-visible enhancements to the Swift Programming Language.","fork":true,"url":"https://api.github.com/repos/tannernelson/swift-evolution","forks_url":"https://api.github.com/repos/tannernelson/swift-evolution/forks","keys_url":"https://api.github.com/repos/tannernelson/swift-evolution/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tannernelson/swift-evolution/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tannernelson/swift-evolution/teams","hooks_url":"https://api.github.com/repos/tannernelson/swift-evolution/hooks","issue_events_url":"https://api.github.com/repos/tannernelson/swift-evolution/issues/events{/number}","events_url":"https://api.github.com/repos/tannernelson/swift-evolution/events","assignees_url":"https://api.github.com/repos/tannernelson/swift-evolution/assignees{/user}","branches_url":"https://api.github.com/repos/tannernelson/swift-evolution/branches{/branch}","tags_url":"https://api.github.com/repos/tannernelson/swift-evolution/tags","blobs_url":"https://api.github.com/repos/tannernelson/swift-evolution/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tannernelson/swift-evolution/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tannernelson/swift-evolution/git/refs{/sha}","trees_url":"https://api.github.com/repos/tannernelson/swift-evolution/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tannernelson/swift-evolution/statuses/{sha}","languages_url":"https://api.github.com/repos/tannernelson/swift-evolution/languages","stargazers_url":"https://api.github.com/repos/tannernelson/swift-evolution/stargazers","contributors_url":"https://api.github.com/repos/tannernelson/swift-evolution/contributors","subscribers_url":"https://api.github.com/repos/tannernelson/swift-evolution/subscribers","subscription_url":"https://api.github.com/repos/tannernelson/swift-evolution/subscription","commits_url":"https://api.github.com/repos/tannernelson/swift-evolution/commits{/sha}","git_commits_url":"https://api.github.com/repos/tannernelson/swift-evolution/git/commits{/sha}","comments_url":"https://api.github.com/repos/tannernelson/swift-evolution/comments{/number}","issue_comment_url":"https://api.github.com/repos/tannernelson/swift-evolution/issues/comments{/number}","contents_url":"https://api.github.com/repos/tannernelson/swift-evolution/contents/{+path}","compare_url":"https://api.github.com/repos/tannernelson/swift-evolution/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tannernelson/swift-evolution/merges","archive_url":"https://api.github.com/repos/tannernelson/swift-evolution/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tannernelson/swift-evolution/downloads","issues_url":"https://api.github.com/repos/tannernelson/swift-evolution/issues{/number}","pulls_url":"https://api.github.com/repos/tannernelson/swift-evolution/pulls{/number}","milestones_url":"https://api.github.com/repos/tannernelson/swift-evolution/milestones{/number}","notifications_url":"https://api.github.com/repos/tannernelson/swift-evolution/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tannernelson/swift-evolution/labels{/name}","releases_url":"https://api.github.com/repos/tannernelson/swift-evolution/releases{/id}","deployments_url":"https://api.github.com/repos/tannernelson/swift-evolution/deployments","created_at":"2016-03-08T18:25:32Z","updated_at":"2016-03-08T12:54:30Z","pushed_at":"2016-03-30T21:20:59Z","git_url":"git://github.com/tannernelson/swift-evolution.git","ssh_url":"git@github.com:tannernelson/swift-evolution.git","clone_url":"https://github.com/tannernelson/swift-evolution.git","svn_url":"https://github.com/tannernelson/swift-evolution","homepage":"","size":514,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apple:master","ref":"master","sha":"331f4e90199e5ac711f3e9c543188d192b87caba","user":{"login":"apple","id":10639145,"avatar_url":"https://avatars.githubusercontent.com/u/10639145?v=3","gravatar_id":"","url":"https://api.github.com/users/apple","html_url":"https://github.com/apple","followers_url":"https://api.github.com/users/apple/followers","following_url":"https://api.github.com/users/apple/following{/other_user}","gists_url":"https://api.github.com/users/apple/gists{/gist_id}","starred_url":"https://api.github.com/users/apple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apple/subscriptions","organizations_url":"https://api.github.com/users/apple/orgs","repos_url":"https://api.github.com/users/apple/repos","events_url":"https://api.github.com/users/apple/events{/privacy}","received_events_url":"https://api.github.com/users/apple/received_events","type":"Organization","site_admin":false},"repo":{"id":45497910,"name":"swift-evolution","full_name":"apple/swift-evolution","owner":{"login":"apple","id":10639145,"avatar_url":"https://avatars.githubusercontent.com/u/10639145?v=3","gravatar_id":"","url":"https://api.github.com/users/apple","html_url":"https://github.com/apple","followers_url":"https://api.github.com/users/apple/followers","following_url":"https://api.github.com/users/apple/following{/other_user}","gists_url":"https://api.github.com/users/apple/gists{/gist_id}","starred_url":"https://api.github.com/users/apple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apple/subscriptions","organizations_url":"https://api.github.com/users/apple/orgs","repos_url":"https://api.github.com/users/apple/repos","events_url":"https://api.github.com/users/apple/events{/privacy}","received_events_url":"https://api.github.com/users/apple/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apple/swift-evolution","description":"This maintains proposals for changes and user-visible enhancements to the Swift Programming Language.","fork":false,"url":"https://api.github.com/repos/apple/swift-evolution","forks_url":"https://api.github.com/repos/apple/swift-evolution/forks","keys_url":"https://api.github.com/repos/apple/swift-evolution/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apple/swift-evolution/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apple/swift-evolution/teams","hooks_url":"https://api.github.com/repos/apple/swift-evolution/hooks","issue_events_url":"https://api.github.com/repos/apple/swift-evolution/issues/events{/number}","events_url":"https://api.github.com/repos/apple/swift-evolution/events","assignees_url":"https://api.github.com/repos/apple/swift-evolution/assignees{/user}","branches_url":"https://api.github.com/repos/apple/swift-evolution/branches{/branch}","tags_url":"https://api.github.com/repos/apple/swift-evolution/tags","blobs_url":"https://api.github.com/repos/apple/swift-evolution/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apple/swift-evolution/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apple/swift-evolution/git/refs{/sha}","trees_url":"https://api.github.com/repos/apple/swift-evolution/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apple/swift-evolution/statuses/{sha}","languages_url":"https://api.github.com/repos/apple/swift-evolution/languages","stargazers_url":"https://api.github.com/repos/apple/swift-evolution/stargazers","contributors_url":"https://api.github.com/repos/apple/swift-evolution/contributors","subscribers_url":"https://api.github.com/repos/apple/swift-evolution/subscribers","subscription_url":"https://api.github.com/repos/apple/swift-evolution/subscription","commits_url":"https://api.github.com/repos/apple/swift-evolution/commits{/sha}","git_commits_url":"https://api.github.com/repos/apple/swift-evolution/git/commits{/sha}","comments_url":"https://api.github.com/repos/apple/swift-evolution/comments{/number}","issue_comment_url":"https://api.github.com/repos/apple/swift-evolution/issues/comments{/number}","contents_url":"https://api.github.com/repos/apple/swift-evolution/contents/{+path}","compare_url":"https://api.github.com/repos/apple/swift-evolution/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apple/swift-evolution/merges","archive_url":"https://api.github.com/repos/apple/swift-evolution/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apple/swift-evolution/downloads","issues_url":"https://api.github.com/repos/apple/swift-evolution/issues{/number}","pulls_url":"https://api.github.com/repos/apple/swift-evolution/pulls{/number}","milestones_url":"https://api.github.com/repos/apple/swift-evolution/milestones{/number}","notifications_url":"https://api.github.com/repos/apple/swift-evolution/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apple/swift-evolution/labels{/name}","releases_url":"https://api.github.com/repos/apple/swift-evolution/releases{/id}","deployments_url":"https://api.github.com/repos/apple/swift-evolution/deployments","created_at":"2015-11-03T21:49:37Z","updated_at":"2016-04-30T02:20:18Z","pushed_at":"2016-04-30T05:14:41Z","git_url":"git://github.com/apple/swift-evolution.git","ssh_url":"git@github.com:apple/swift-evolution.git","clone_url":"https://github.com/apple/swift-evolution.git","svn_url":"https://github.com/apple/swift-evolution","homepage":"","size":1190,"stargazers_count":3678,"watchers_count":3678,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":486,"mirror_url":null,"open_issues_count":13,"forks":486,"open_issues":13,"watchers":3678,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apple/swift-evolution/pulls/236"},"html":{"href":"https://github.com/apple/swift-evolution/pull/236"},"issue":{"href":"https://api.github.com/repos/apple/swift-evolution/issues/236"},"comments":{"href":"https://api.github.com/repos/apple/swift-evolution/issues/236/comments"},"review_comments":{"href":"https://api.github.com/repos/apple/swift-evolution/pulls/236/comments"},"review_comment":{"href":"https://api.github.com/repos/apple/swift-evolution/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apple/swift-evolution/pulls/236/commits"},"statuses":{"href":"https://api.github.com/repos/apple/swift-evolution/statuses/098296aa961cd60512ef0e3a062a4b3dedb9c5a1"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":8,"review_comments":0,"commits":14,"additions":117,"deletions":1,"changed_files":2}}