fsharp
fsharp copied to clipboard
The F# compiler, F# core library, F# language service, and F# tooling integration for Visual Studio
If you create a generic type which takes a measure type parameter, but forget to add the `Measure` attribute when extending the type, the compiler crashes with an internal error....
This fixes https://github.com/dotnet/fsharp/issues/17742 . F#-originating code has always been against implicit nulls. Even when null literal was passed into the string function, the null was still replaced with an empty...
See https://github.com/dotnet/arcade/issues/15019 for more details
### Issue description Methods like: DateTime.Parse Int32.Parse require a non-nullable string. Yet, they do not a report a nullable warning when a possibly null string is passed in. They do...
The approach I want to take is to cache the results of type subsuming for two given types (in `TypeFeasiblySubsumesType` & co). For now just make code a bit more...
**Is your feature request related to a problem? Please describe.** ```fsharp type Foo = inherit IDisposable let blah () = ([] : Foo list) |> Seq.iter (function | :? IDisposable...
``` Message: System.ObjectDisposedException : Cannot access a disposed object. Object name: 'Microsoft.Win32.SafeHandles.SafeWaitHandle'. Stack Trace: SafeHandle.DangerousAddRef(Boolean& success) Kernel32.SetEvent(SafeWaitHandle handle) EventWaitHandle.Set() Mailbox`1.Post(TMsg msg) line 193 FSharpMailboxProcessor`1.Post(TMsg message) line 419 ``` I can...
**Is your feature request related to a problem? Please describe.** Hello, hope you're good. I'm taking a look at the available approaches for reading custom attributes from a function definition...
## Description Disallow abstract member with access modifiers in signature files. ```fsharp // in a .fsi file type A = abstract internal B: int ->int abstract member C: int with...