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
Mutable use bindings permitted by the F# compiler #535
It's by spec but I'd be happy to emit a warning in this case. Could you add an entry to http://fslang.uservoice.com? I'll mark it as approved for a future edition of the language.
@eiriktsarpalis An update on this: I believe mutable use bindings may be needed for F# in the case that the "disposable" type is a struct. For example, a struct enumerator of a System.Collections.Generic.List<T>
Activity
dsyme commentedon Jul 17, 2015
It's by spec but I'd be happy to emit a warning in this case. Could you add an entry to http://fslang.uservoice.com? I'll mark it as approved for a future edition of the language.
eiriktsarpalis commentedon Jul 17, 2015
Done! http://fslang.uservoice.com/forums/245727-f-language/suggestions/8909788-disable-or-add-a-warning-to-mutable-use-bindings
dsyme commentedon Jul 17, 2015
Closing this since it's now recoded on uservoice (and approved)
dsyme commentedon Aug 2, 2016
@eiriktsarpalis An update on this: I believe mutable use bindings may be needed for F# in the case that the "disposable" type is a struct. For example, a struct enumerator of a
System.Collections.Generic.List<T>