{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/6182","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/6182/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/6182/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/6182/events","html_url":"https://github.com/dotnet/roslyn/issues/6182","id":112442554,"number":6182,"title":"Proposal: Sequence Expressions","user":{"login":"gafter","id":3804346,"avatar_url":"https://avatars.githubusercontent.com/u/3804346?v=3","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},"labels":[{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-Language%20Design","name":"Area-Language Design","color":"5319e7"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Feature%20Request","name":"Feature Request","color":"fc2929"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Feature%20Specification","name":"Feature Specification","color":"fc2929"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Language-C%23","name":"Language-C#","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"gafter","id":3804346,"avatar_url":"https://avatars.githubusercontent.com/u/3804346?v=3","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},"milestone":{"url":"https://api.github.com/repos/dotnet/roslyn/milestones/8","html_url":"https://github.com/dotnet/roslyn/milestones/C%23%207%20and%20VB%2015","labels_url":"https://api.github.com/repos/dotnet/roslyn/milestones/8/labels","id":962632,"number":8,"title":"C# 7 and VB 15","description":"\r\n\r\n<!---\r\n@huboard:{\"order\":0.375}\r\n-->\r\n","creator":{"login":"gafter","id":3804346,"avatar_url":"https://avatars.githubusercontent.com/u/3804346?v=3","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":59,"closed_issues":10,"state":"open","created_at":"2015-02-02T23:41:34Z","updated_at":"2015-10-20T19:38:27Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2015-10-20T19:26:54Z","updated_at":"2015-10-21T01:29:47Z","closed_at":null,"body":"We propose a form of expression that allows you to declare temporary variables before the final result of the expression. We replace the existing parenthesized expression with the following\r\n\r\n> *parenthesized-expression*:\r\n> &nbsp;&nbsp;&nbsp;&nbsp;`(` *sequence-statements*<sub>opt</sub> *expression* `)`\r\n> *sequence-statements*:\r\n> &nbsp;&nbsp;&nbsp;&nbsp;*sequence-statement* *sequence-statements*\r\n> &nbsp;&nbsp;&nbsp;&nbsp;*sequence-statement*\r\n> *sequence-statement*:\r\n> &nbsp;&nbsp;&nbsp;&nbsp;*expression-statement*\r\n> &nbsp;&nbsp;&nbsp;&nbsp;*declaration-statement*\r\n\r\nThe scope of any variable declared in a *parenthesized-expression* is the body of that *parenthesized-expression*.\r\n\r\nThis is particularly useful in combination with the expression form of the pattern matching construct #5154.\r\n\r\n/cc @TyOverby"},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/149752889","html_url":"https://github.com/dotnet/roslyn/issues/6182#issuecomment-149752889","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/6182","id":149752889,"user":{"login":"paulomorgado","id":470455,"avatar_url":"https://avatars.githubusercontent.com/u/470455?v=3","gravatar_id":"","url":"https://api.github.com/users/paulomorgado","html_url":"https://github.com/paulomorgado","followers_url":"https://api.github.com/users/paulomorgado/followers","following_url":"https://api.github.com/users/paulomorgado/following{/other_user}","gists_url":"https://api.github.com/users/paulomorgado/gists{/gist_id}","starred_url":"https://api.github.com/users/paulomorgado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulomorgado/subscriptions","organizations_url":"https://api.github.com/users/paulomorgado/orgs","repos_url":"https://api.github.com/users/paulomorgado/repos","events_url":"https://api.github.com/users/paulomorgado/events{/privacy}","received_events_url":"https://api.github.com/users/paulomorgado/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T01:29:47Z","updated_at":"2015-10-21T01:29:47Z","body":"@gafter, this used to be referred as declaration expressions, right.\r\n\r\nAren't you afraid it might be confused with \"as opposed to asynchronous expressions\"?\r\n\r\nAnd, no! I don't have a better name. Yet!"}}