Fix build (#24)

This commit is contained in:
Patrick Stevens
2024-06-05 14:28:13 +01:00
committed by GitHub
parent 1b0e431ee8
commit 298dca94ea

View File

@@ -205,7 +205,7 @@ module TestFixture =
seq { seq {
// Might not be an IEnumerable of a reference type. // Might not be an IEnumerable of a reference type.
// Concretely, `FSharpList<HttpStatusCode> :> IEnumerable<obj>` fails. // Concretely, `FSharpList<HttpStatusCode> :> IEnumerable<obj>` fails.
for arg in args.GetValue null :?> System.Collections.IEnumerable do for arg in args.GetValue (null : obj) :?> System.Collections.IEnumerable do
yield yield
match arg with match arg with
| :? Tuple<obj, obj> as (a, b) -> | :? Tuple<obj, obj> as (a, b) ->