From 559c058144129e0a42de3f66f9844c60e9c620f9 Mon Sep 17 00:00:00 2001 From: Don Syme Date: Fri, 2 Jun 2023 17:44:20 +0100 Subject: [PATCH] [WIP] [RFC FS-1060] Nullness checking (applied to codebase) (#15265) * enablement * enablement * fix build * fix build * fantomas * selective adoption --- src/Compiler/FSharp.Compiler.Service.fsproj | 1 + src/FSharp.Build/FSharp.Build.fsproj | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Compiler/FSharp.Compiler.Service.fsproj b/src/Compiler/FSharp.Compiler.Service.fsproj index a5648ed457f..af5e504d33c 100644 --- a/src/Compiler/FSharp.Compiler.Service.fsproj +++ b/src/Compiler/FSharp.Compiler.Service.fsproj @@ -13,6 +13,7 @@ FSharp.Compiler.Service true $(DefineConstants);COMPILER + true $(DefineConstants);FSHARPCORE_USE_PACKAGE $(OtherFlags) --extraoptimizationloops:1 diff --git a/src/FSharp.Build/FSharp.Build.fsproj b/src/FSharp.Build/FSharp.Build.fsproj index f8fbc7138ef..a159fb8d43b 100644 --- a/src/FSharp.Build/FSharp.Build.fsproj +++ b/src/FSharp.Build/FSharp.Build.fsproj @@ -9,6 +9,7 @@ FSharp.Build $(NoWarn);75 true + true $(DefineConstants);LOCALIZATION_FSBUILD $(NoWarn);NU1701;FS0075 true