Skip to content

Commit 241f711

Browse files
bartelinkabelbraaksma
authored andcommitted
Fail CI on state machine warning
1 parent 75cbccc commit 241f711

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Directory.Build.props

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
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>
37
</Project>

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,9 @@ Generates optimized IL code through resumable state machines, and comes with a c
2727
</PropertyGroup>
2828

2929
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
30-
<OtherFlags></OtherFlags>
3130
</PropertyGroup>
3231

3332
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
34-
<OtherFlags></OtherFlags>
3533
<Tailcalls>True</Tailcalls>
3634
</PropertyGroup>
3735

0 commit comments

Comments
 (0)