{"action":"created","issue":{"url":"https://api.github.com/repos/JetBrains/kotlin/issues/962","repository_url":"https://api.github.com/repos/JetBrains/kotlin","labels_url":"https://api.github.com/repos/JetBrains/kotlin/issues/962/labels{/name}","comments_url":"https://api.github.com/repos/JetBrains/kotlin/issues/962/comments","events_url":"https://api.github.com/repos/JetBrains/kotlin/issues/962/events","html_url":"https://github.com/JetBrains/kotlin/pull/962","id":180512928,"number":962,"title":"KT-7931 fixed","user":{"login":"qwwdfsad","id":2780116,"avatar_url":"https://avatars.githubusercontent.com/u/2780116?v=3","gravatar_id":"","url":"https://api.github.com/users/qwwdfsad","html_url":"https://github.com/qwwdfsad","followers_url":"https://api.github.com/users/qwwdfsad/followers","following_url":"https://api.github.com/users/qwwdfsad/following{/other_user}","gists_url":"https://api.github.com/users/qwwdfsad/gists{/gist_id}","starred_url":"https://api.github.com/users/qwwdfsad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qwwdfsad/subscriptions","organizations_url":"https://api.github.com/users/qwwdfsad/orgs","repos_url":"https://api.github.com/users/qwwdfsad/repos","events_url":"https://api.github.com/users/qwwdfsad/events{/privacy}","received_events_url":"https://api.github.com/users/qwwdfsad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"dnpetrov","id":544563,"avatar_url":"https://avatars.githubusercontent.com/u/544563?v=3","gravatar_id":"","url":"https://api.github.com/users/dnpetrov","html_url":"https://github.com/dnpetrov","followers_url":"https://api.github.com/users/dnpetrov/followers","following_url":"https://api.github.com/users/dnpetrov/following{/other_user}","gists_url":"https://api.github.com/users/dnpetrov/gists{/gist_id}","starred_url":"https://api.github.com/users/dnpetrov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnpetrov/subscriptions","organizations_url":"https://api.github.com/users/dnpetrov/orgs","repos_url":"https://api.github.com/users/dnpetrov/repos","events_url":"https://api.github.com/users/dnpetrov/events{/privacy}","received_events_url":"https://api.github.com/users/dnpetrov/received_events","type":"User","site_admin":false},"assignees":[{"login":"dnpetrov","id":544563,"avatar_url":"https://avatars.githubusercontent.com/u/544563?v=3","gravatar_id":"","url":"https://api.github.com/users/dnpetrov","html_url":"https://github.com/dnpetrov","followers_url":"https://api.github.com/users/dnpetrov/followers","following_url":"https://api.github.com/users/dnpetrov/following{/other_user}","gists_url":"https://api.github.com/users/dnpetrov/gists{/gist_id}","starred_url":"https://api.github.com/users/dnpetrov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnpetrov/subscriptions","organizations_url":"https://api.github.com/users/dnpetrov/orgs","repos_url":"https://api.github.com/users/dnpetrov/repos","events_url":"https://api.github.com/users/dnpetrov/events{/privacy}","received_events_url":"https://api.github.com/users/dnpetrov/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2016-10-02T13:43:36Z","updated_at":"2016-10-05T07:54:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JetBrains/kotlin/pulls/962","html_url":"https://github.com/JetBrains/kotlin/pull/962","diff_url":"https://github.com/JetBrains/kotlin/pull/962.diff","patch_url":"https://github.com/JetBrains/kotlin/pull/962.patch"},"body":"Optimized code generation for iteration over string, results are added to initial benchmark (https://gist.github.com/qwwdfsad/69616e8a42a74def31e48d774c622379): new version is as fast as java version.\r\n\r\nI've decided not to generate intrinsic for iteration over CharSequence because end user may not expect such code transformation for his custom string."},"comment":{"url":"https://api.github.com/repos/JetBrains/kotlin/issues/comments/251606929","html_url":"https://github.com/JetBrains/kotlin/pull/962#issuecomment-251606929","issue_url":"https://api.github.com/repos/JetBrains/kotlin/issues/962","id":251606929,"user":{"login":"dnpetrov","id":544563,"avatar_url":"https://avatars.githubusercontent.com/u/544563?v=3","gravatar_id":"","url":"https://api.github.com/users/dnpetrov","html_url":"https://github.com/dnpetrov","followers_url":"https://api.github.com/users/dnpetrov/followers","following_url":"https://api.github.com/users/dnpetrov/following{/other_user}","gists_url":"https://api.github.com/users/dnpetrov/gists{/gist_id}","starred_url":"https://api.github.com/users/dnpetrov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnpetrov/subscriptions","organizations_url":"https://api.github.com/users/dnpetrov/orgs","repos_url":"https://api.github.com/users/dnpetrov/repos","events_url":"https://api.github.com/users/dnpetrov/events{/privacy}","received_events_url":"https://api.github.com/users/dnpetrov/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T07:54:31Z","updated_at":"2016-10-05T07:54:31Z","body":"This test fails:\r\n\r\n```\r\n// WITH_RUNTIME\r\n\r\nfun useBoxedChar(ch: Char?) = ch!!\r\n\r\nfun box(): String {\r\n    var s = \"\"\r\n    for (ch: Char? in \"OK\") {\r\n        s += useBoxedChar(ch)\r\n    }\r\n\r\n    return s\r\n}\r\n```"}}
{"actor":{"display_login":"dnpetrov"}}