fsharp
fsharp copied to clipboard
The F# compiler, F# core library, F# language service, and F# tooling integration for Visual Studio
A file with a recursive namespace reference can't be loaded in FSI. This is similar to [#237](https://github.com/dotnet/fsharp/issues/237). It _does_ compile as part of a project. **Steps to reproduce:** 1. Create...
The excellent new feature by @pblasucci (see #9978) provides support for UoM (Units of Measure) for all other primitive types (unsigned integers, native pointer types). The introduction of this has...
Using the `CompilerMessage` attribute is a technique I use a lot and normally it works, in order to give customized compile error messages. Unfortunately there are some isolated cases where...
We shadow quite some things in FSharp.Core, either to poison them (compiler message to point to an alternative) or replace them with our own implementations. This is not really uncommon...
In a Slack chat on the F# channel (see [this thread](https://fsharp.slack.com/archives/C1R50TKEU/p1658163707605709), available for a short while I guess), Vincenzo Ciancia noticed that, quote: > I am very surprised that, in...
When using `nameof` in a pattern match, I'd expect the compiler to infer the argument type as `string` since `nameof` returns a `string`. However, the argument is treated as generic...
```fsharp open System [] type CustomClassAttribute() = inherit Attribute() [] type CustomStructAttribute() = inherit Attribute() [] type CustomMethodAttribute() = inherit Attribute() [] type Class() = class end [] type Struct(x:...
Related to #1102, this issue could act as an overall list for all the issues relating to error reporting from the compiler. I'll start the ball rolling by adding the...
Sometimes (not always, unfortunately) syntax highlighting and navigation breaks in some tabs, not all of them though. **Repro steps** 1. Have a solution open, multiple tabs open, some of them...
Continuation of #6286 from a feature branch RFC https://github.com/fsharp/fslang-design/blob/master/RFCs/FS-1043-extension-members-for-operators-and-srtp-constraints.md This is work by @tobyshaw and myself to implement RFC FS-1043. This PR brings https://github.com/Microsoft/visualfsharp/pull/3582 up-to-date with master Design points: *...