Skip to content

Commit f024238

Browse files
committed
NET45 ListCollector
1 parent 709558e commit f024238

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/FSharpPlus/Extensions/Extensions.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ module Extensions =
368368

369369
/// Returns the first Choice2Of2 if it contains a Choice2Of2 element, otherwise a list of all elements.
370370
static member Sequential (t: list<Choice<'T, 'Choice2Of2>>) =
371-
#if FABLE_COMPILER
371+
#if FABLE_COMPILER || NET45
372372
let mutable error = ValueNone
373373
let res = Seq.toList (seq {
374374
use e = (t :> seq<_>).GetEnumerator ()

0 commit comments

Comments
 (0)