-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Labels
bugSomething isn't workingSomething isn't workingtopic: taskseq-ceRelated to the taskseq computation expression builders or overloadsRelated to the taskseq computation expression builders or overloads
Description
Binding task-likes in the taskSeq-builder will trigger the FS3559-warning. This seems to be due to the existence of the 'TOverall parameter here:
[<NoEagerConstraintApplication>]
member inline Bind< ^TaskLike, 'T, 'U, ^Awaiter, 'TOverall> :
task: ^TaskLike * continuation: ('T -> ResumableTSC<'U>) -> ResumableTSC<'U>
when ^TaskLike: (member GetAwaiter: unit -> ^Awaiter)
and ^Awaiter :> ICriticalNotifyCompletion
and ^Awaiter: (member get_IsCompleted: unit -> bool)
and ^Awaiter: (member GetResult: unit -> 'T)
This parameter cannot be inferred, since it is not used in the method, and is probably only present due to copy-paste.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtopic: taskseq-ceRelated to the taskseq computation expression builders or overloadsRelated to the taskseq computation expression builders or overloads