{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/visualfsharp/issues/1262","repository_url":"https://api.github.com/repos/Microsoft/visualfsharp","labels_url":"https://api.github.com/repos/Microsoft/visualfsharp/issues/1262/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/visualfsharp/issues/1262/comments","events_url":"https://api.github.com/repos/Microsoft/visualfsharp/issues/1262/events","html_url":"https://github.com/Microsoft/visualfsharp/pull/1262","id":160273663,"number":1262,"title":"[RFC FS-1014]  Struct unions (single case)","user":{"login":"dsyme","id":7204669,"avatar_url":"https://avatars.githubusercontent.com/u/7204669?v=3","gravatar_id":"","url":"https://api.github.com/users/dsyme","html_url":"https://github.com/dsyme","followers_url":"https://api.github.com/users/dsyme/followers","following_url":"https://api.github.com/users/dsyme/following{/other_user}","gists_url":"https://api.github.com/users/dsyme/gists{/gist_id}","starred_url":"https://api.github.com/users/dsyme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsyme/subscriptions","organizations_url":"https://api.github.com/users/dsyme/orgs","repos_url":"https://api.github.com/users/dsyme/repos","events_url":"https://api.github.com/users/dsyme/events{/privacy}","received_events_url":"https://api.github.com/users/dsyme/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/visualfsharp/labels/cla-not-required","name":"cla-not-required","color":"90EE90"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-06-14T20:16:24Z","updated_at":"2016-06-17T00:34:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Microsoft/visualfsharp/pulls/1262","html_url":"https://github.com/Microsoft/visualfsharp/pull/1262","diff_url":"https://github.com/Microsoft/visualfsharp/pull/1262.diff","patch_url":"https://github.com/Microsoft/visualfsharp/pull/1262.patch"},"body":"This PR implements support for [struct unions, for single-case union types](https://github.com/fsharp/FSharpLangDesign/blob/master/RFCs/FS-1014-struct-unions-single-case.md), e.g.\r\n\r\n```\r\n[<Struct>]\r\ntype U2 = U2 of int * int\r\n```\r\n\r\nPutting this PR up for CI and visibility\r\n\r\n* [x] Finish [RFC](https://github.com/fsharp/FSharpLangDesign/blob/master/RFCs/FS-1014-struct-unions-single-case.md)\r\n* [x] Basic implementation\r\n* [x] Testing for reflection on struct union types\r\n* [x] Testing for quotations involving struct union types\r\n* [x] Testing for pattern matching and nested pattern matching (involves taking address of struct union field)\r\n* [x] Testing for cross-assembly cases\r\n* [x] All tests passing\r\n\r\nSo next step is to write the RFC and clear the last few test glitches\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/visualfsharp/issues/comments/226652324","html_url":"https://github.com/Microsoft/visualfsharp/pull/1262#issuecomment-226652324","issue_url":"https://api.github.com/repos/Microsoft/visualfsharp/issues/1262","id":226652324,"user":{"login":"dsyme","id":7204669,"avatar_url":"https://avatars.githubusercontent.com/u/7204669?v=3","gravatar_id":"","url":"https://api.github.com/users/dsyme","html_url":"https://github.com/dsyme","followers_url":"https://api.github.com/users/dsyme/followers","following_url":"https://api.github.com/users/dsyme/following{/other_user}","gists_url":"https://api.github.com/users/dsyme/gists{/gist_id}","starred_url":"https://api.github.com/users/dsyme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsyme/subscriptions","organizations_url":"https://api.github.com/users/dsyme/orgs","repos_url":"https://api.github.com/users/dsyme/repos","events_url":"https://api.github.com/users/dsyme/events{/privacy}","received_events_url":"https://api.github.com/users/dsyme/received_events","type":"User","site_admin":false},"created_at":"2016-06-17T00:34:42Z","updated_at":"2016-06-17T00:34:42Z","body":"@TIHan There are a couple of places in the code that I think are fixes for corner cases of struct records.  I'll add some line comments - we should add relevant testing too"}}
{"actor":{"display_login":"dsyme"}}