diff --git a/src/FsAutoComplete.Core/AdaptiveExtensions.fs b/src/FsAutoComplete.Core/AdaptiveExtensions.fs index ec1437082..d44d1da52 100644 --- a/src/FsAutoComplete.Core/AdaptiveExtensions.fs +++ b/src/FsAutoComplete.Core/AdaptiveExtensions.fs @@ -81,7 +81,7 @@ module AVal = /// /// Calls a mapping function which creates additional dependencies to be tracked. /// - let mapWithAdditionalDependenies (mapping: 'a -> 'b * #seq<#IAdaptiveValue>) (value: aval<'a>) : aval<'b> = + let mapWithAdditionalDependencies (mapping: 'a -> 'b * #seq<#IAdaptiveValue>) (value: aval<'a>) : aval<'b> = let mutable lastDeps = HashSet.empty { new AVal.AbstractVal<'b>() with @@ -176,7 +176,7 @@ module AMap = | None -> HashSet.empty - /// Reader for batchRecalc operations. + /// Reader for batchRecalculate operations. [] type BatchRecalculateDirty<'k, 'a, 'b>(input: amap<'k, 'a>, mapping: HashMap<'k, 'a> -> HashMap<'k, aval<'b>>) = inherit AbstractReader>(HashMapDelta.empty) @@ -224,14 +224,14 @@ module AMap = cache <- match HashMap.tryRemove i cache with - | Some(o, remaingCache) -> + | Some(o, remainingCache) -> let rem, rest = MultiSetMap.remove o i targets targets <- rest if rem then o.Outputs.Remove x |> ignore - remaingCache + remainingCache | None -> cache match op with @@ -301,7 +301,7 @@ module AMap = = let mapping = mapping - >> HashMap.map (fun _ v -> AVal.constant v |> AVal.mapWithAdditionalDependenies (id)) + >> HashMap.map (fun _ v -> AVal.constant v |> AVal.mapWithAdditionalDependencies (id)) batchRecalcDirty mapping map diff --git a/test/FsAutoComplete.Tests.Lsp/Program.fs b/test/FsAutoComplete.Tests.Lsp/Program.fs index bc7dd54f4..4f7deece3 100644 --- a/test/FsAutoComplete.Tests.Lsp/Program.fs +++ b/test/FsAutoComplete.Tests.Lsp/Program.fs @@ -58,7 +58,7 @@ let lspServers = let sourceTextFactories: (string * ISourceTextFactory) list = [ "NamedText", NamedTextFactory() - "RosylinSourceText", RoslynSourceTextFactory() + "RoslynSourceText", RoslynSourceTextFactory() ] let mutable toolsPath =