{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/2479","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/2479/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/2479/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/2479/events","html_url":"https://github.com/dotnet/roslyn/pull/2479","id":72946897,"number":2479,"title":"Setting next statement inside a scope with a lambda cause NRE","user":{"login":"wschae","id":4300700,"avatar_url":"https://avatars.githubusercontent.com/u/4300700?v=3","gravatar_id":"","url":"https://api.github.com/users/wschae","html_url":"https://github.com/wschae","followers_url":"https://api.github.com/users/wschae/followers","following_url":"https://api.github.com/users/wschae/following{/other_user}","gists_url":"https://api.github.com/users/wschae/gists{/gist_id}","starred_url":"https://api.github.com/users/wschae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wschae/subscriptions","organizations_url":"https://api.github.com/users/wschae/orgs","repos_url":"https://api.github.com/users/wschae/repos","events_url":"https://api.github.com/users/wschae/events{/privacy}","received_events_url":"https://api.github.com/users/wschae/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-Interactive","name":"Area-Interactive","color":"5319e7"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Bug","name":"Bug","color":"fc2929"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/cla-already-signed","name":"cla-already-signed","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-04T07:41:50Z","updated_at":"2015-05-04T07:42:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/2479","html_url":"https://github.com/dotnet/roslyn/pull/2479","diff_url":"https://github.com/dotnet/roslyn/pull/2479.diff","patch_url":"https://github.com/dotnet/roslyn/pull/2479.patch"},"body":"This happens since setting next statement skips the closure initialization, which marks as hidden sequence point. \r\n\r\nIn this PR, we emit a regular sequence point instead of a hidden sequence point to closure initialization when it is located inside of conditional blocks like 'if (b) { ... }', so IP move won't skip closure initialization."},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/98612244","html_url":"https://github.com/dotnet/roslyn/pull/2479#issuecomment-98612244","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/2479","id":98612244,"user":{"login":"wschae","id":4300700,"avatar_url":"https://avatars.githubusercontent.com/u/4300700?v=3","gravatar_id":"","url":"https://api.github.com/users/wschae","html_url":"https://github.com/wschae","followers_url":"https://api.github.com/users/wschae/followers","following_url":"https://api.github.com/users/wschae/following{/other_user}","gists_url":"https://api.github.com/users/wschae/gists{/gist_id}","starred_url":"https://api.github.com/users/wschae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wschae/subscriptions","organizations_url":"https://api.github.com/users/wschae/orgs","repos_url":"https://api.github.com/users/wschae/repos","events_url":"https://api.github.com/users/wschae/events{/privacy}","received_events_url":"https://api.github.com/users/wschae/received_events","type":"User","site_admin":false},"created_at":"2015-05-04T07:42:57Z","updated_at":"2015-05-04T07:42:57Z","body":"@tmat @gafter @VSadov Can you have a look at this one?"}}