From ffe902ed2a0803c74c7d46e15a0d2fdeaa21d401 Mon Sep 17 00:00:00 2001 From: Abel Braaksma Date: Sun, 5 Nov 2023 18:10:16 +0100 Subject: [PATCH 1/2] Duplicate `Obsolete` attribute in the implementation file so we get local warnings --- src/FSharp.Control.TaskSeq/TaskSeqBuilder.fs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/FSharp.Control.TaskSeq/TaskSeqBuilder.fs b/src/FSharp.Control.TaskSeq/TaskSeqBuilder.fs index ced53d8e..0a6905e3 100644 --- a/src/FSharp.Control.TaskSeq/TaskSeqBuilder.fs +++ b/src/FSharp.Control.TaskSeq/TaskSeqBuilder.fs @@ -42,6 +42,7 @@ module Internal = // cannot be marked with 'internal' scope |> raise // deprecated from 0.4.0, see FSI file +[' is deprecated in favor of 'TaskSeq<_>'. It will be removed in an upcoming release.">] type taskSeq<'T> = IAsyncEnumerable<'T> // the proper type from 0.4.0 onwards, see FSI file From bfaf0485705443419aae6d0138667bfb156ab0ef Mon Sep 17 00:00:00 2001 From: Abel Braaksma Date: Sun, 5 Nov 2023 18:10:49 +0100 Subject: [PATCH 2/2] Fix documentation blob --- src/FSharp.Control.TaskSeq/TaskSeqBuilder.fsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/FSharp.Control.TaskSeq/TaskSeqBuilder.fsi b/src/FSharp.Control.TaskSeq/TaskSeqBuilder.fsi index 90ea40e2..8c18ca5c 100644 --- a/src/FSharp.Control.TaskSeq/TaskSeqBuilder.fsi +++ b/src/FSharp.Control.TaskSeq/TaskSeqBuilder.fsi @@ -25,6 +25,8 @@ module Internal = val inline raiseNotImpl: unit -> 'a /// +/// Represents a and is the output of using the +/// computation expression from this library. It is an alias for . /// The type is deprecated since version 0.4.0, /// please use in its stead. See . ///