Something is changed with the F# 3.0 compiler, below is my code,
And I get the below errors all over my project,
I'm trying to build this code with F# 5.0 Silverlight dll. It used to compile before.
interesting one - have you tried to rename your htmlEl argument?
My guess would be that the constructor yields the additional field just like primary-constructors do.
Seems like a bug to me and maybe you should report this.
It is sad to say that it is a regression. In F# 3.0, you might have to modifiy your code untill it is fixed in the next update. I would like to change code:
- use a different name in the derived class, or
- use a different class style similar to
type DomBase(htmlEl) =
member val htmlEl: ScriptObject = htmlEl
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?