{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/15672","repository_url":"https://api.github.com/repos/dotnet/roslyn","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/15672/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/15672/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/15672/events","html_url":"https://github.com/dotnet/roslyn/pull/15672","id":193572597,"number":15672,"title":"Do not optimize 'default(T)?.X' into 'null' when 'T' is unconstrained.","user":{"login":"CyrusNajmabadi","id":4564579,"avatar_url":"https://avatars.githubusercontent.com/u/4564579?v=3","gravatar_id":"","url":"https://api.github.com/users/CyrusNajmabadi","html_url":"https://github.com/CyrusNajmabadi","followers_url":"https://api.github.com/users/CyrusNajmabadi/followers","following_url":"https://api.github.com/users/CyrusNajmabadi/following{/other_user}","gists_url":"https://api.github.com/users/CyrusNajmabadi/gists{/gist_id}","starred_url":"https://api.github.com/users/CyrusNajmabadi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CyrusNajmabadi/subscriptions","organizations_url":"https://api.github.com/users/CyrusNajmabadi/orgs","repos_url":"https://api.github.com/users/CyrusNajmabadi/repos","events_url":"https://api.github.com/users/CyrusNajmabadi/events{/privacy}","received_events_url":"https://api.github.com/users/CyrusNajmabadi/received_events","type":"User","site_admin":false},"labels":[{"id":197452922,"url":"https://api.github.com/repos/dotnet/roslyn/labels/cla-already-signed","name":"cla-already-signed","color":"009800","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-12-05T18:20:59Z","updated_at":"2016-12-07T18:57:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/15672","html_url":"https://github.com/dotnet/roslyn/pull/15672","diff_url":"https://github.com/dotnet/roslyn/pull/15672.diff","patch_url":"https://github.com/dotnet/roslyn/pull/15672.patch"},"body":"Fixes https://github.com/dotnet/roslyn/issues/15670"},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/265538194","html_url":"https://github.com/dotnet/roslyn/pull/15672#issuecomment-265538194","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/15672","id":265538194,"user":{"login":"jaredpar","id":146967,"avatar_url":"https://avatars.githubusercontent.com/u/146967?v=3","gravatar_id":"","url":"https://api.github.com/users/jaredpar","html_url":"https://github.com/jaredpar","followers_url":"https://api.github.com/users/jaredpar/followers","following_url":"https://api.github.com/users/jaredpar/following{/other_user}","gists_url":"https://api.github.com/users/jaredpar/gists{/gist_id}","starred_url":"https://api.github.com/users/jaredpar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaredpar/subscriptions","organizations_url":"https://api.github.com/users/jaredpar/orgs","repos_url":"https://api.github.com/users/jaredpar/repos","events_url":"https://api.github.com/users/jaredpar/events{/privacy}","received_events_url":"https://api.github.com/users/jaredpar/received_events","type":"User","site_admin":false},"created_at":"2016-12-07T18:57:10Z","updated_at":"2016-12-07T18:57:10Z","body":"> You really only get this if you write exactly \"default(T)?.\" in a generic context. That seems very contrived to me. \r\n\r\nContrived or not it produces observable changes to the generated code.  That means we need to consider it under the breaking change bar. \r\n\r\nIf we fix this now then the bad behavior will have existed for a single release of the compiler.  That is pretty much the limit for how long a behavior can exist before it becomes too entrenched to change.  The fact that this is a bit more contrived means that it's easier to change than most bugs.  But still we are approaching the limit.  \r\n\r\nHence from my perspective either it's worth taking and we do it now, or it's not and it goes into the \"never fix\" bucket.  My vote is to fix and do it now. \r\n\r\n"}}
{"actor":{"display_login":"jaredpar"}}