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

Update function for a var causes ambiguity in C# #234

Closed
Jooseppi12 opened this issue Mar 16, 2022 · 0 comments · Fixed by #235
Closed

Update function for a var causes ambiguity in C# #234

Jooseppi12 opened this issue Mar 16, 2022 · 0 comments · Fixed by #235
Assignees
Projects

Comments

@Jooseppi12
Copy link
Member

Consider the following C# snippet

var myVar = Var.Create("myString");
myVar.Update (s => s + "_test");

This is causing an error at the moment, because in WebSharper.UI.CSharp we have an Update function defined in VarExtensions and VarExtension types that are colliding.

@Jooseppi12 Jooseppi12 self-assigned this Mar 16, 2022
@Jooseppi12 Jooseppi12 added this to v6.0 in Releases Mar 16, 2022
Jooseppi12 added a commit that referenced this issue Mar 16, 2022
Jand42 pushed a commit that referenced this issue Mar 16, 2022
@Jooseppi12 Jooseppi12 linked a pull request Mar 16, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging a pull request may close this issue.

1 participant