{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/29042","repository_url":"https://api.github.com/repos/dotnet/roslyn","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/29042/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/29042/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/29042/events","html_url":"https://github.com/dotnet/roslyn/pull/29042","id":347208945,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1ODg4NjIy","number":29042,"title":"WIP - Watson bug investigation","user":{"login":"chborl","id":25776963,"node_id":"MDQ6VXNlcjI1Nzc2OTYz","avatar_url":"https://avatars0.githubusercontent.com/u/25776963?v=4","gravatar_id":"","url":"https://api.github.com/users/chborl","html_url":"https://github.com/chborl","followers_url":"https://api.github.com/users/chborl/followers","following_url":"https://api.github.com/users/chborl/following{/other_user}","gists_url":"https://api.github.com/users/chborl/gists{/gist_id}","starred_url":"https://api.github.com/users/chborl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chborl/subscriptions","organizations_url":"https://api.github.com/users/chborl/orgs","repos_url":"https://api.github.com/users/chborl/repos","events_url":"https://api.github.com/users/chborl/events{/privacy}","received_events_url":"https://api.github.com/users/chborl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-02T23:29:27Z","updated_at":"2018-08-03T18:00:53Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/29042","html_url":"https://github.com/dotnet/roslyn/pull/29042","diff_url":"https://github.com/dotnet/roslyn/pull/29042.diff","patch_url":"https://github.com/dotnet/roslyn/pull/29042.patch"},"body":"The statement `(var ,) = (1,)` causes [CheckTupleElementNames](http://source.roslyn.io/#Microsoft.CodeAnalysis/Compilation/Compilation.cs,991) to throw error CodeAnalysisResource.TupleElementNameEmpty\r\n\r\nThe missing argument ends up with name \"\" in [TryGetTupleTypesAndNames](http://source.roslyn.io/#Microsoft.CodeAnalysis.CSharp.Workspaces/LanguageServices/CSharpTypeInferenceService.TypeInferrer.cs,2069)\r\n \r\nIn addition, the 'var' argument ends up with name = \"var\" which seems to be incorrect.\r\n\r\nI propose that the unnamed var argument returns \"\" and that CheckTupleElementNames not throw when name is empty.\r\n\r\nTrying this out to see if any tests fail as a result of having an empty name."},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/410331238","html_url":"https://github.com/dotnet/roslyn/pull/29042#issuecomment-410331238","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/29042","id":410331238,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDMzMTIzOA==","user":{"login":"chborl","id":25776963,"node_id":"MDQ6VXNlcjI1Nzc2OTYz","avatar_url":"https://avatars0.githubusercontent.com/u/25776963?v=4","gravatar_id":"","url":"https://api.github.com/users/chborl","html_url":"https://github.com/chborl","followers_url":"https://api.github.com/users/chborl/followers","following_url":"https://api.github.com/users/chborl/following{/other_user}","gists_url":"https://api.github.com/users/chborl/gists{/gist_id}","starred_url":"https://api.github.com/users/chborl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chborl/subscriptions","organizations_url":"https://api.github.com/users/chborl/orgs","repos_url":"https://api.github.com/users/chborl/repos","events_url":"https://api.github.com/users/chborl/events{/privacy}","received_events_url":"https://api.github.com/users/chborl/received_events","type":"User","site_admin":false},"created_at":"2018-08-03T18:00:53Z","updated_at":"2018-08-03T18:00:53Z","author_association":"CONTRIBUTOR","body":"@CyrusNajmabadi , @jcouv , since tuple element names are optional, I don't think `CodeAnalysisResources.TupleElementNameEmpty` should be enforced.  Thoughts?\r\n"}}
{"actor":{"display_login":"chborl"}}