Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Record copy update should be able change the generic type #140

Closed
baronfel opened this issue Oct 20, 2016 · 1 comment
Closed

Record copy update should be able change the generic type #140

baronfel opened this issue Oct 20, 2016 · 1 comment

Comments

@baronfel
Copy link
Contributor

baronfel commented Oct 20, 2016

Submitted by Marko Grdinic on 10/3/2016 12:00:00 AM
1 votes on UserVoice prior to migration

type A<'a> =
{
mutable x: 'a
}
let a = {x = 1}
{a with x="Hello"} // Type error

Since the x field is generic and F# is type safe, it would not be bad if the above was valid.

Original UserVoice Submission
Archived Uservoice Comments

@dsyme dsyme removed the open label Oct 29, 2016
@dsyme
Copy link
Collaborator

dsyme commented Mar 1, 2017

Closing as better covered by the more general #164

@dsyme dsyme closed this as completed Mar 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants