F# 10 features scoped warning suppression
infoworld.com·3h
Flag this post

The newest version of Microsoft’s multi-paradigm language features a much-sought ability to suppress warnings in specified code sections.

With the scoped warning suppression capability, the compiler now supports the #warnon directive, which is paired with #nowarn to disable or enable warnings within a specific code span. The F# 10 update was introduced along with .NET 10 on November 11. Developers can get F# 10 by downloading .NET 10 or by accessing Visual Studio 2026 Insiders. A [November 17 blog post](https://devblogs.microsoft.com/dotnet/introducing-fsh…

Similar Posts

Loading similar posts...