Skip to content

Commit 4c431f1

Browse files
committed
Turn on TreatWarningsAsErrors for all warnings across the board
1 parent 051fdb3 commit 4c431f1

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

Directory.Build.props

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
<Project>
22
<Import Project="Version.props" />
3-
<PropertyGroup>
4-
<!-- Fail CI warning FS3511: This state machine is not statically compilable.-->
5-
<WarningsAsErrors>FS3511</WarningsAsErrors>
6-
</PropertyGroup>
73
</Project>

src/FSharp.Control.TaskSeq.SmokeTests/FSharp.Control.TaskSeq.SmokeTests.fsproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
<PropertyGroup>
44
<TargetFramework>net6.0</TargetFramework>
5+
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
56
</PropertyGroup>
67

78
<ItemGroup>

src/FSharp.Control.TaskSeq.Test/FSharp.Control.TaskSeq.Test.fsproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<TargetFramework>net6.0</TargetFramework>
5+
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
56
</PropertyGroup>
67

78
<ItemGroup>

src/FSharp.Control.TaskSeq/FSharp.Control.TaskSeq.fsproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
<PropertyGroup>
44
<TargetFramework>netstandard2.1</TargetFramework>
5+
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
56
<GenerateDocumentationFile>true</GenerateDocumentationFile>
67
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
78
<Title>Computation expression 'taskSeq' for processing IAsyncEnumerable sequences and module functions</Title>

0 commit comments

Comments
 (0)