{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/28983","repository_url":"https://api.github.com/repos/dotnet/roslyn","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/28983/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/28983/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/28983/events","html_url":"https://github.com/dotnet/roslyn/pull/28983","id":346398436,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1MjcyODc3","number":28983,"title":"Fix IntroduceVariable when the textSpan is whitespace","user":{"login":"JoeRobich","id":611219,"node_id":"MDQ6VXNlcjYxMTIxOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/611219?v=4","gravatar_id":"","url":"https://api.github.com/users/JoeRobich","html_url":"https://github.com/JoeRobich","followers_url":"https://api.github.com/users/JoeRobich/followers","following_url":"https://api.github.com/users/JoeRobich/following{/other_user}","gists_url":"https://api.github.com/users/JoeRobich/gists{/gist_id}","starred_url":"https://api.github.com/users/JoeRobich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoeRobich/subscriptions","organizations_url":"https://api.github.com/users/JoeRobich/orgs","repos_url":"https://api.github.com/users/JoeRobich/repos","events_url":"https://api.github.com/users/JoeRobich/events{/privacy}","received_events_url":"https://api.github.com/users/JoeRobich/received_events","type":"User","site_admin":false},"labels":[{"id":166377917,"node_id":"MDU6TGFiZWwxNjYzNzc5MTc=","url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-IDE","name":"Area-IDE","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/dotnet/roslyn/milestones/18","html_url":"https://github.com/dotnet/roslyn/milestone/18","labels_url":"https://api.github.com/repos/dotnet/roslyn/milestones/18/labels","id":1675130,"node_id":"MDk6TWlsZXN0b25lMTY3NTEzMA==","number":18,"title":"16.0","description":"The version *after* the next major version.","creator":{"login":"gafter","id":3804346,"node_id":"MDQ6VXNlcjM4MDQzNDY=","avatar_url":"https://avatars3.githubusercontent.com/u/3804346?v=4","gravatar_id":"","url":"https://api.github.com/users/gafter","html_url":"https://github.com/gafter","followers_url":"https://api.github.com/users/gafter/followers","following_url":"https://api.github.com/users/gafter/following{/other_user}","gists_url":"https://api.github.com/users/gafter/gists{/gist_id}","starred_url":"https://api.github.com/users/gafter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gafter/subscriptions","organizations_url":"https://api.github.com/users/gafter/orgs","repos_url":"https://api.github.com/users/gafter/repos","events_url":"https://api.github.com/users/gafter/events{/privacy}","received_events_url":"https://api.github.com/users/gafter/received_events","type":"User","site_admin":false},"open_issues":1098,"closed_issues":425,"state":"open","created_at":"2016-03-31T00:06:25Z","updated_at":"2018-08-02T00:00:42Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2018-07-31T23:49:20Z","updated_at":"2018-08-02T01:51:39Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/28983","html_url":"https://github.com/dotnet/roslyn/pull/28983","diff_url":"https://github.com/dotnet/roslyn/pull/28983.diff","patch_url":"https://github.com/dotnet/roslyn/pull/28983.patch"},"body":"If the textSpan is a span of whitespace that is itself surrounded by\r\nwhitespace, trying to recover by getting the next token and creating a\r\nnew textSpan will result in a crash. This change prevents the crash by\r\nchecking the proposed newStart position and returning if it is past\r\nthe end position.\r\n\r\nThis fixes #27949 and fixes #28665."},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/409779466","html_url":"https://github.com/dotnet/roslyn/pull/28983#issuecomment-409779466","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/28983","id":409779466,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTc3OTQ2Ng==","user":{"login":"dpoeschl","id":235241,"node_id":"MDQ6VXNlcjIzNTI0MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/235241?v=4","gravatar_id":"","url":"https://api.github.com/users/dpoeschl","html_url":"https://github.com/dpoeschl","followers_url":"https://api.github.com/users/dpoeschl/followers","following_url":"https://api.github.com/users/dpoeschl/following{/other_user}","gists_url":"https://api.github.com/users/dpoeschl/gists{/gist_id}","starred_url":"https://api.github.com/users/dpoeschl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpoeschl/subscriptions","organizations_url":"https://api.github.com/users/dpoeschl/orgs","repos_url":"https://api.github.com/users/dpoeschl/repos","events_url":"https://api.github.com/users/dpoeschl/events{/privacy}","received_events_url":"https://api.github.com/users/dpoeschl/received_events","type":"User","site_admin":false},"created_at":"2018-08-02T01:51:39Z","updated_at":"2018-08-02T01:51:39Z","author_association":"MEMBER","body":"Preserving the unit test failure URL in case tests get restarted: https://ci.dot.net/job/dotnet_roslyn/job/master/job/windows_debug_unit64_prtest/15567/\r\n@JoeRobich Can you take a look? (I can help tomorrow if you'd like.)"}}
{"actor":{"display_login":"dpoeschl"}}