You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Go to Metadata - static field handling is wrong #11526
This may be a current limitation in the language, actually. We don't really have a good way to declare these things in F# code today. We can probably still get things to "work" in metadata as source view though, at least getting colors and maybe navigation going.
We deliberately removed the ability to create public static fields in Beta2/RC, because of issues associated with initialization of the fields (i.e. ensuring the “static do” bindings are run correctly, and if they are run, then they are run for the whole file, in the right order, with no deadlocks or uninitialized access when initialization occurs from multiple threads).
Activity
cartermp commentedon May 5, 2021
This may be a current limitation in the language, actually. We don't really have a good way to declare these things in F# code today. We can probably still get things to "work" in metadata as source view though, at least getting colors and maybe navigation going.
auduchinok commentedon May 5, 2021
Some context from http://www.ianvoyce.com/index.php/2010/10/01/public-static-fields-gone-from-f-2-0/:
Move #11526 release-notes entry to VNEXT (11.0.100)