{"action":"created","comment":{"url":"https://api.github.com/repos/JetBrains/kotlin/pulls/comments/27573483","id":27573483,"diff_hunk":"@@ -0,0 +1,26 @@\n+/*\n+ * Copyright 2010-2015 JetBrains s.r.o.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ * http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+package kotlin.jvm\n+\n+import java.lang.annotation.Retention\n+import java.lang.annotation.RetentionPolicy\n+\n+/**\n+ * Instructs the Kotlin compiler to generate overloads for this function that substitute default parameter values.","path":"libraries/stdlib/src/kotlin/jvm/JvmPlatformAnnotations.kt","position":23,"original_position":23,"commit_id":"502125088fd3e2b8d7e3b362ce9cac2f0e08cc01","original_commit_id":"502125088fd3e2b8d7e3b362ce9cac2f0e08cc01","user":{"login":"udalov","id":292714,"avatar_url":"https://avatars.githubusercontent.com/u/292714?v=3","gravatar_id":"","url":"https://api.github.com/users/udalov","html_url":"https://github.com/udalov","followers_url":"https://api.github.com/users/udalov/followers","following_url":"https://api.github.com/users/udalov/following{/other_user}","gists_url":"https://api.github.com/users/udalov/gists{/gist_id}","starred_url":"https://api.github.com/users/udalov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/udalov/subscriptions","organizations_url":"https://api.github.com/users/udalov/orgs","repos_url":"https://api.github.com/users/udalov/repos","events_url":"https://api.github.com/users/udalov/events{/privacy}","received_events_url":"https://api.github.com/users/udalov/received_events","type":"User","site_admin":false},"body":"Maybe it will be useful to document exactly what overloads are generated here? One might think that `2^n` overloads will be generated, if `n` is the number of default parameters","created_at":"2015-04-01T14:27:42Z","updated_at":"2015-04-01T14:27:42Z","html_url":"https://github.com/JetBrains/kotlin/pull/629#discussion_r27573483","pull_request_url":"https://api.github.com/repos/JetBrains/kotlin/pulls/629","_links":{"self":{"href":"https://api.github.com/repos/JetBrains/kotlin/pulls/comments/27573483"},"html":{"href":"https://github.com/JetBrains/kotlin/pull/629#discussion_r27573483"},"pull_request":{"href":"https://api.github.com/repos/JetBrains/kotlin/pulls/629"}}},"pull_request":{"url":"https://api.github.com/repos/JetBrains/kotlin/pulls/629","id":32247830,"html_url":"https://github.com/JetBrains/kotlin/pull/629","diff_url":"https://github.com/JetBrains/kotlin/pull/629.diff","patch_url":"https://github.com/JetBrains/kotlin/pull/629.patch","issue_url":"https://api.github.com/repos/JetBrains/kotlin/issues/629","number":629,"state":"open","locked":false,"title":"KT-2095: kotlin.jvm.overloads annotation for generating the overloads of a method with default parameter values","user":{"login":"yole","id":46553,"avatar_url":"https://avatars.githubusercontent.com/u/46553?v=3","gravatar_id":"","url":"https://api.github.com/users/yole","html_url":"https://github.com/yole","followers_url":"https://api.github.com/users/yole/followers","following_url":"https://api.github.com/users/yole/following{/other_user}","gists_url":"https://api.github.com/users/yole/gists{/gist_id}","starred_url":"https://api.github.com/users/yole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yole/subscriptions","organizations_url":"https://api.github.com/users/yole/orgs","repos_url":"https://api.github.com/users/yole/repos","events_url":"https://api.github.com/users/yole/events{/privacy}","received_events_url":"https://api.github.com/users/yole/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-30T17:22:24Z","updated_at":"2015-04-01T14:27:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2bdf7ddb9864c9bc57d2440734df0ff5e20bf842","assignee":{"login":"udalov","id":292714,"avatar_url":"https://avatars.githubusercontent.com/u/292714?v=3","gravatar_id":"","url":"https://api.github.com/users/udalov","html_url":"https://github.com/udalov","followers_url":"https://api.github.com/users/udalov/followers","following_url":"https://api.github.com/users/udalov/following{/other_user}","gists_url":"https://api.github.com/users/udalov/gists{/gist_id}","starred_url":"https://api.github.com/users/udalov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/udalov/subscriptions","organizations_url":"https://api.github.com/users/udalov/orgs","repos_url":"https://api.github.com/users/udalov/repos","events_url":"https://api.github.com/users/udalov/events{/privacy}","received_events_url":"https://api.github.com/users/udalov/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/JetBrains/kotlin/pulls/629/commits","review_comments_url":"https://api.github.com/repos/JetBrains/kotlin/pulls/629/comments","review_comment_url":"https://api.github.com/repos/JetBrains/kotlin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JetBrains/kotlin/issues/629/comments","statuses_url":"https://api.github.com/repos/JetBrains/kotlin/statuses/502125088fd3e2b8d7e3b362ce9cac2f0e08cc01","head":{"label":"JetBrains:rr/yole/jvm-overloads","ref":"rr/yole/jvm-overloads","sha":"502125088fd3e2b8d7e3b362ce9cac2f0e08cc01","user":{"login":"JetBrains","id":878437,"avatar_url":"https://avatars.githubusercontent.com/u/878437?v=3","gravatar_id":"","url":"https://api.github.com/users/JetBrains","html_url":"https://github.com/JetBrains","followers_url":"https://api.github.com/users/JetBrains/followers","following_url":"https://api.github.com/users/JetBrains/following{/other_user}","gists_url":"https://api.github.com/users/JetBrains/gists{/gist_id}","starred_url":"https://api.github.com/users/JetBrains/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JetBrains/subscriptions","organizations_url":"https://api.github.com/users/JetBrains/orgs","repos_url":"https://api.github.com/users/JetBrains/repos","events_url":"https://api.github.com/users/JetBrains/events{/privacy}","received_events_url":"https://api.github.com/users/JetBrains/received_events","type":"Organization","site_admin":false},"repo":{"id":3432266,"name":"kotlin","full_name":"JetBrains/kotlin","owner":{"login":"JetBrains","id":878437,"avatar_url":"https://avatars.githubusercontent.com/u/878437?v=3","gravatar_id":"","url":"https://api.github.com/users/JetBrains","html_url":"https://github.com/JetBrains","followers_url":"https://api.github.com/users/JetBrains/followers","following_url":"https://api.github.com/users/JetBrains/following{/other_user}","gists_url":"https://api.github.com/users/JetBrains/gists{/gist_id}","starred_url":"https://api.github.com/users/JetBrains/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JetBrains/subscriptions","organizations_url":"https://api.github.com/users/JetBrains/orgs","repos_url":"https://api.github.com/users/JetBrains/repos","events_url":"https://api.github.com/users/JetBrains/events{/privacy}","received_events_url":"https://api.github.com/users/JetBrains/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JetBrains/kotlin","description":"The Kotlin Programming Language","fork":false,"url":"https://api.github.com/repos/JetBrains/kotlin","forks_url":"https://api.github.com/repos/JetBrains/kotlin/forks","keys_url":"https://api.github.com/repos/JetBrains/kotlin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JetBrains/kotlin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JetBrains/kotlin/teams","hooks_url":"https://api.github.com/repos/JetBrains/kotlin/hooks","issue_events_url":"https://api.github.com/repos/JetBrains/kotlin/issues/events{/number}","events_url":"https://api.github.com/repos/JetBrains/kotlin/events","assignees_url":"https://api.github.com/repos/JetBrains/kotlin/assignees{/user}","branches_url":"https://api.github.com/repos/JetBrains/kotlin/branches{/branch}","tags_url":"https://api.github.com/repos/JetBrains/kotlin/tags","blobs_url":"https://api.github.com/repos/JetBrains/kotlin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JetBrains/kotlin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JetBrains/kotlin/git/refs{/sha}","trees_url":"https://api.github.com/repos/JetBrains/kotlin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JetBrains/kotlin/statuses/{sha}","languages_url":"https://api.github.com/repos/JetBrains/kotlin/languages","stargazers_url":"https://api.github.com/repos/JetBrains/kotlin/stargazers","contributors_url":"https://api.github.com/repos/JetBrains/kotlin/contributors","subscribers_url":"https://api.github.com/repos/JetBrains/kotlin/subscribers","subscription_url":"https://api.github.com/repos/JetBrains/kotlin/subscription","commits_url":"https://api.github.com/repos/JetBrains/kotlin/commits{/sha}","git_commits_url":"https://api.github.com/repos/JetBrains/kotlin/git/commits{/sha}","comments_url":"https://api.github.com/repos/JetBrains/kotlin/comments{/number}","issue_comment_url":"https://api.github.com/repos/JetBrains/kotlin/issues/comments{/number}","contents_url":"https://api.github.com/repos/JetBrains/kotlin/contents/{+path}","compare_url":"https://api.github.com/repos/JetBrains/kotlin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JetBrains/kotlin/merges","archive_url":"https://api.github.com/repos/JetBrains/kotlin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JetBrains/kotlin/downloads","issues_url":"https://api.github.com/repos/JetBrains/kotlin/issues{/number}","pulls_url":"https://api.github.com/repos/JetBrains/kotlin/pulls{/number}","milestones_url":"https://api.github.com/repos/JetBrains/kotlin/milestones{/number}","notifications_url":"https://api.github.com/repos/JetBrains/kotlin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JetBrains/kotlin/labels{/name}","releases_url":"https://api.github.com/repos/JetBrains/kotlin/releases{/id}","created_at":"2012-02-13T17:29:58Z","updated_at":"2015-04-01T14:12:22Z","pushed_at":"2015-04-01T14:26:17Z","git_url":"git://github.com/JetBrains/kotlin.git","ssh_url":"git@github.com:JetBrains/kotlin.git","clone_url":"https://github.com/JetBrains/kotlin.git","svn_url":"https://github.com/JetBrains/kotlin","homepage":"http://kotlinlang.org/","size":1445735,"stargazers_count":1300,"watchers_count":1300,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":225,"mirror_url":null,"open_issues_count":20,"forks":225,"open_issues":20,"watchers":1300,"default_branch":"master"}},"base":{"label":"JetBrains:master","ref":"master","sha":"0a93cfc9c091619599b7fd89ed481449f1f53a04","user":{"login":"JetBrains","id":878437,"avatar_url":"https://avatars.githubusercontent.com/u/878437?v=3","gravatar_id":"","url":"https://api.github.com/users/JetBrains","html_url":"https://github.com/JetBrains","followers_url":"https://api.github.com/users/JetBrains/followers","following_url":"https://api.github.com/users/JetBrains/following{/other_user}","gists_url":"https://api.github.com/users/JetBrains/gists{/gist_id}","starred_url":"https://api.github.com/users/JetBrains/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JetBrains/subscriptions","organizations_url":"https://api.github.com/users/JetBrains/orgs","repos_url":"https://api.github.com/users/JetBrains/repos","events_url":"https://api.github.com/users/JetBrains/events{/privacy}","received_events_url":"https://api.github.com/users/JetBrains/received_events","type":"Organization","site_admin":false},"repo":{"id":3432266,"name":"kotlin","full_name":"JetBrains/kotlin","owner":{"login":"JetBrains","id":878437,"avatar_url":"https://avatars.githubusercontent.com/u/878437?v=3","gravatar_id":"","url":"https://api.github.com/users/JetBrains","html_url":"https://github.com/JetBrains","followers_url":"https://api.github.com/users/JetBrains/followers","following_url":"https://api.github.com/users/JetBrains/following{/other_user}","gists_url":"https://api.github.com/users/JetBrains/gists{/gist_id}","starred_url":"https://api.github.com/users/JetBrains/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JetBrains/subscriptions","organizations_url":"https://api.github.com/users/JetBrains/orgs","repos_url":"https://api.github.com/users/JetBrains/repos","events_url":"https://api.github.com/users/JetBrains/events{/privacy}","received_events_url":"https://api.github.com/users/JetBrains/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JetBrains/kotlin","description":"The Kotlin Programming Language","fork":false,"url":"https://api.github.com/repos/JetBrains/kotlin","forks_url":"https://api.github.com/repos/JetBrains/kotlin/forks","keys_url":"https://api.github.com/repos/JetBrains/kotlin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JetBrains/kotlin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JetBrains/kotlin/teams","hooks_url":"https://api.github.com/repos/JetBrains/kotlin/hooks","issue_events_url":"https://api.github.com/repos/JetBrains/kotlin/issues/events{/number}","events_url":"https://api.github.com/repos/JetBrains/kotlin/events","assignees_url":"https://api.github.com/repos/JetBrains/kotlin/assignees{/user}","branches_url":"https://api.github.com/repos/JetBrains/kotlin/branches{/branch}","tags_url":"https://api.github.com/repos/JetBrains/kotlin/tags","blobs_url":"https://api.github.com/repos/JetBrains/kotlin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JetBrains/kotlin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JetBrains/kotlin/git/refs{/sha}","trees_url":"https://api.github.com/repos/JetBrains/kotlin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JetBrains/kotlin/statuses/{sha}","languages_url":"https://api.github.com/repos/JetBrains/kotlin/languages","stargazers_url":"https://api.github.com/repos/JetBrains/kotlin/stargazers","contributors_url":"https://api.github.com/repos/JetBrains/kotlin/contributors","subscribers_url":"https://api.github.com/repos/JetBrains/kotlin/subscribers","subscription_url":"https://api.github.com/repos/JetBrains/kotlin/subscription","commits_url":"https://api.github.com/repos/JetBrains/kotlin/commits{/sha}","git_commits_url":"https://api.github.com/repos/JetBrains/kotlin/git/commits{/sha}","comments_url":"https://api.github.com/repos/JetBrains/kotlin/comments{/number}","issue_comment_url":"https://api.github.com/repos/JetBrains/kotlin/issues/comments{/number}","contents_url":"https://api.github.com/repos/JetBrains/kotlin/contents/{+path}","compare_url":"https://api.github.com/repos/JetBrains/kotlin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JetBrains/kotlin/merges","archive_url":"https://api.github.com/repos/JetBrains/kotlin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JetBrains/kotlin/downloads","issues_url":"https://api.github.com/repos/JetBrains/kotlin/issues{/number}","pulls_url":"https://api.github.com/repos/JetBrains/kotlin/pulls{/number}","milestones_url":"https://api.github.com/repos/JetBrains/kotlin/milestones{/number}","notifications_url":"https://api.github.com/repos/JetBrains/kotlin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JetBrains/kotlin/labels{/name}","releases_url":"https://api.github.com/repos/JetBrains/kotlin/releases{/id}","created_at":"2012-02-13T17:29:58Z","updated_at":"2015-04-01T14:12:22Z","pushed_at":"2015-04-01T14:26:17Z","git_url":"git://github.com/JetBrains/kotlin.git","ssh_url":"git@github.com:JetBrains/kotlin.git","clone_url":"https://github.com/JetBrains/kotlin.git","svn_url":"https://github.com/JetBrains/kotlin","homepage":"http://kotlinlang.org/","size":1445735,"stargazers_count":1300,"watchers_count":1300,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":225,"mirror_url":null,"open_issues_count":20,"forks":225,"open_issues":20,"watchers":1300,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JetBrains/kotlin/pulls/629"},"html":{"href":"https://github.com/JetBrains/kotlin/pull/629"},"issue":{"href":"https://api.github.com/repos/JetBrains/kotlin/issues/629"},"comments":{"href":"https://api.github.com/repos/JetBrains/kotlin/issues/629/comments"},"review_comments":{"href":"https://api.github.com/repos/JetBrains/kotlin/pulls/629/comments"},"review_comment":{"href":"https://api.github.com/repos/JetBrains/kotlin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JetBrains/kotlin/pulls/629/commits"},"statuses":{"href":"https://api.github.com/repos/JetBrains/kotlin/statuses/502125088fd3e2b8d7e3b362ce9cac2f0e08cc01"}}}}