Skip to content

Commit 559c058

Browse files
authored
[WIP] [RFC FS-1060] Nullness checking (applied to codebase) (#15265)
* enablement * enablement * fix build * fix build * fantomas * selective adoption
1 parent ffbbfd2 commit 559c058

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Compiler/FSharp.Compiler.Service.fsproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<AssemblyName>FSharp.Compiler.Service</AssemblyName>
1414
<AllowCrossTargeting>true</AllowCrossTargeting>
1515
<DefineConstants>$(DefineConstants);COMPILER</DefineConstants>
16+
<CheckNulls>true</CheckNulls>
1617
<DefineConstants Condition="'$(FSHARPCORE_USE_PACKAGE)' == 'true'">$(DefineConstants);FSHARPCORE_USE_PACKAGE</DefineConstants>
1718
<OtherFlags>$(OtherFlags) --extraoptimizationloops:1</OtherFlags>
1819
<!-- 1182: Unused variables -->

src/FSharp.Build/FSharp.Build.fsproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<AssemblyName>FSharp.Build</AssemblyName>
1010
<NoWarn>$(NoWarn);75</NoWarn> <!-- InternalCommandLineOption -->
1111
<AllowCrossTargeting>true</AllowCrossTargeting>
12+
<CheckNulls>true</CheckNulls>
1213
<DefineConstants>$(DefineConstants);LOCALIZATION_FSBUILD</DefineConstants>
1314
<NoWarn>$(NoWarn);NU1701;FS0075</NoWarn>
1415
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>

0 commit comments

Comments
 (0)