Skip to content

Commit 19f03d5

Browse files
committed
Address warning
1 parent 39638fb commit 19f03d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/FSharpPlus/Control/Comonad.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ type Extend =
7777
match g with
7878
| ValueTask.Faulted e -> tcs.SetException e
7979
| ValueTask.Canceled -> tcs.SetCanceled ()
80+
| ValueTask.Succeeded -> raise Internals.Errors.exnUnreachable
8081
else
8182
ValueTask.continueTask tcs g (fun _ ->
8283
try tcs.SetResult (f g)

0 commit comments

Comments
 (0)