{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/visualfsharp/issues/4356","repository_url":"https://api.github.com/repos/Microsoft/visualfsharp","labels_url":"https://api.github.com/repos/Microsoft/visualfsharp/issues/4356/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/visualfsharp/issues/4356/comments","events_url":"https://api.github.com/repos/Microsoft/visualfsharp/issues/4356/events","html_url":"https://github.com/Microsoft/visualfsharp/issues/4356","id":297515263,"number":4356,"title":"FSharp.Reflection.IsRecordType fails to recognize record","user":{"login":"panesofglass","id":8803,"avatar_url":"https://avatars3.githubusercontent.com/u/8803?v=4","gravatar_id":"","url":"https://api.github.com/users/panesofglass","html_url":"https://github.com/panesofglass","followers_url":"https://api.github.com/users/panesofglass/followers","following_url":"https://api.github.com/users/panesofglass/following{/other_user}","gists_url":"https://api.github.com/users/panesofglass/gists{/gist_id}","starred_url":"https://api.github.com/users/panesofglass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/panesofglass/subscriptions","organizations_url":"https://api.github.com/users/panesofglass/orgs","repos_url":"https://api.github.com/users/panesofglass/repos","events_url":"https://api.github.com/users/panesofglass/events{/privacy}","received_events_url":"https://api.github.com/users/panesofglass/received_events","type":"User","site_admin":false},"labels":[{"id":308829999,"url":"https://api.github.com/repos/Microsoft/visualfsharp/labels/Area-Library","name":"Area-Library","color":"5319e7","default":false},{"id":167875915,"url":"https://api.github.com/repos/Microsoft/visualfsharp/labels/regression","name":"regression","color":"e11d21","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-15T16:42:38Z","updated_at":"2018-02-15T19:45:14Z","closed_at":null,"author_association":"NONE","body":"After updating to FSharp.Core 4.3.4, `Reflection.FSharpType.IsRecord` failed to recognize a record type.\r\n\r\n#### Repro steps\r\n\r\nProvide the steps required to reproduce the problem\r\n\r\n1. Update the [Gluon](https://github.com/Tachyus/gluon) repository to use FSharp.Core 4.3.4.\r\n\r\n2. Run the Gluon.CLI against an F# assembly to generate a client, e.g. by attempting to build the sample project in this branch: https://github.com/Tachyus/gluon/tree/bugfix/fsharp-core-434.\r\n\r\n#### Expected behavior\r\n\r\nSample project should build successfully. Compare with the master branch build using FSharp.Core 4.1.17.\r\n\r\n#### Actual behavior\r\n\r\nSample project fails to build b/c Gluon.CLI fails when `Reflection.FSharpType.IsRecord` fails to correctly recognize a record type at this line: https://github.com/Tachyus/gluon/blob/master/src/Gluon/Reflect.fs#L155.\r\n\r\n#### Known workarounds\r\n\r\nUse a previous version of FSharp.Core.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/visualfsharp/issues/comments/366040175","html_url":"https://github.com/Microsoft/visualfsharp/issues/4356#issuecomment-366040175","issue_url":"https://api.github.com/repos/Microsoft/visualfsharp/issues/4356","id":366040175,"user":{"login":"cartermp","id":6309070,"avatar_url":"https://avatars0.githubusercontent.com/u/6309070?v=4","gravatar_id":"","url":"https://api.github.com/users/cartermp","html_url":"https://github.com/cartermp","followers_url":"https://api.github.com/users/cartermp/followers","following_url":"https://api.github.com/users/cartermp/following{/other_user}","gists_url":"https://api.github.com/users/cartermp/gists{/gist_id}","starred_url":"https://api.github.com/users/cartermp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cartermp/subscriptions","organizations_url":"https://api.github.com/users/cartermp/orgs","repos_url":"https://api.github.com/users/cartermp/repos","events_url":"https://api.github.com/users/cartermp/events{/privacy}","received_events_url":"https://api.github.com/users/cartermp/received_events","type":"User","site_admin":false},"created_at":"2018-02-15T19:45:14Z","updated_at":"2018-02-15T19:45:14Z","author_association":"CONTRIBUTOR","body":"@panesofglass Sorry, not at desktop right now - is this against a struct record or a ref type record? Wondering if this is related to #4240\r\n\r\ncc @dsyme and @KevinRansom "}}
{"actor":{"display_login":"cartermp"}}