Skip to content

Commit b1d191c

Browse files
committed
Re-introduce dummy overload
1 parent 11905eb commit b1d191c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FSharpPlus/Control/Monad.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ type TryFinally with
264264

265265
static member TryFinally ((computation: unit -> '``Monad<'T>``, compensation: unit -> unit), _: Default1, _: TryFinally, _defaults: True ) = try computation () finally compensation ()
266266
static member inline TryFinally ((computation: unit -> '``Monad<'T>``, compensation: unit -> unit), _: Default1, _: TryFinally, _defaults: False) = TryFinally.InvokeOnInstance (computation ()) compensation: '``Monad<'T>``
267-
267+
static member inline TryFinally (( _ : unit -> ^t when ^t: null and ^t: struct, _: unit -> unit), _: Default1, _ , _ ) = ()
268268

269269
type Using =
270270
inherit Default1

0 commit comments

Comments
 (0)