Skip to content

Commit 8b9acb3

Browse files
committed
Unnecessary upcast
1 parent 0cb9b26 commit 8b9acb3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/FSharpPlus/Control/Monoid.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ type Plus =
3838
#else
3939
static member ``+`` (x: StringBuilder , y: StringBuilder , [<Optional>]_mthd: Plus ) = StringBuilder().Append(string x).Append(string y)
4040
static member ``+`` (_: Id0 , _: Id0 , [<Optional>]_mthd: Plus ) = Id0 ""
41-
static member ``+`` (x: exn , y: exn , [<Optional>]_mthd: Plus ) =
41+
static member ``+`` (x: exn , y: exn , [<Optional>]_mthd: Plus ) : exn =
4242
let f (e: exn) = match e with :? AggregateException as a -> a.Data0 :> seq<_> | _ -> Seq.singleton e
43-
AggregateException (seq {yield! f x; yield! f y}) :> exn
43+
AggregateException (seq {yield! f x; yield! f y})
4444
#endif
4545

4646
static member inline Invoke (x: 'Plus) (y: 'Plus) : 'Plus =

0 commit comments

Comments
 (0)