diff --git a/src/fsharp/FSharp.Core/async.fs b/src/fsharp/FSharp.Core/async.fs index ad172d40ae1..4224440e6f1 100644 --- a/src/fsharp/FSharp.Core/async.fs +++ b/src/fsharp/FSharp.Core/async.fs @@ -1405,7 +1405,6 @@ namespace Microsoft.FSharp.Control static member Sleep (millisecondsDueTime: int32) : Async = Async.Sleep (millisecondsDueTime |> int64) - [] static member Sleep (dueTime: TimeSpan) = if dueTime < TimeSpan.Zero then raise (ArgumentOutOfRangeException("dueTime")) diff --git a/src/fsharp/FSharp.Core/async.fsi b/src/fsharp/FSharp.Core/async.fsi index bd0d54aeb90..72502b9d26e 100644 --- a/src/fsharp/FSharp.Core/async.fsi +++ b/src/fsharp/FSharp.Core/async.fsi @@ -288,7 +288,6 @@ namespace Microsoft.FSharp.Control /// The amount of time to sleep. /// An asynchronous computation that will sleep for the given time. /// Thrown when the due time is negative. - [] static member Sleep: dueTime:TimeSpan -> Async /// Creates an asynchronous computation in terms of a Begin/End pair of actions in diff --git a/src/fsharp/FSharp.Core/map.fs b/src/fsharp/FSharp.Core/map.fs index f1aead43900..079c5cac585 100644 --- a/src/fsharp/FSharp.Core/map.fs +++ b/src/fsharp/FSharp.Core/map.fs @@ -549,7 +549,6 @@ type Map<[]'Key, [(comparer, MapTree.add comparer key value tree) - [] member m.Change(key, f) : Map<'Key, 'Value> = new Map<'Key, 'Value>(comparer, MapTree.change comparer key f tree) @@ -770,7 +769,6 @@ module Map = let add key value (table: Map<_, _>) = table.Add (key, value) - [] [] let change key f (table: Map<_, _>) = table.Change (key, f) diff --git a/src/fsharp/FSharp.Core/map.fsi b/src/fsharp/FSharp.Core/map.fsi index 7a7b67d6555..04e6b048326 100644 --- a/src/fsharp/FSharp.Core/map.fsi +++ b/src/fsharp/FSharp.Core/map.fsi @@ -26,7 +26,6 @@ namespace Microsoft.FSharp.Collections /// The input key. /// The change function. /// The resulting map. - [] member Change: key:'Key * f:('Value option -> 'Value option) -> Map<'Key,'Value> /// Returns true if there are no bindings in the map. @@ -98,7 +97,6 @@ namespace Microsoft.FSharp.Collections /// The change function. /// The input map. /// The resulting map. - [] [] val change: key:'Key -> f:('T option -> 'T option) -> table:Map<'Key,'T> -> Map<'Key,'T>