Skip to content

Commit 5d5ffe8

Browse files
authored
fixing typos (#1136)
1 parent 4472d83 commit 5d5ffe8

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/FsAutoComplete.Core/AdaptiveExtensions.fs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ module AVal =
8181
/// <summary>
8282
/// Calls a mapping function which creates additional dependencies to be tracked.
8383
/// </summary>
84-
let mapWithAdditionalDependenies (mapping: 'a -> 'b * #seq<#IAdaptiveValue>) (value: aval<'a>) : aval<'b> =
84+
let mapWithAdditionalDependencies (mapping: 'a -> 'b * #seq<#IAdaptiveValue>) (value: aval<'a>) : aval<'b> =
8585
let mutable lastDeps = HashSet.empty
8686

8787
{ new AVal.AbstractVal<'b>() with
@@ -176,7 +176,7 @@ module AMap =
176176
| None -> HashSet.empty
177177

178178

179-
/// Reader for batchRecalc operations.
179+
/// Reader for batchRecalculate operations.
180180
[<Sealed>]
181181
type BatchRecalculateDirty<'k, 'a, 'b>(input: amap<'k, 'a>, mapping: HashMap<'k, 'a> -> HashMap<'k, aval<'b>>) =
182182
inherit AbstractReader<HashMapDelta<'k, 'b>>(HashMapDelta.empty)
@@ -224,14 +224,14 @@ module AMap =
224224

225225
cache <-
226226
match HashMap.tryRemove i cache with
227-
| Some(o, remaingCache) ->
227+
| Some(o, remainingCache) ->
228228
let rem, rest = MultiSetMap.remove o i targets
229229
targets <- rest
230230

231231
if rem then
232232
o.Outputs.Remove x |> ignore
233233

234-
remaingCache
234+
remainingCache
235235
| None -> cache
236236

237237
match op with
@@ -301,7 +301,7 @@ module AMap =
301301
=
302302
let mapping =
303303
mapping
304-
>> HashMap.map (fun _ v -> AVal.constant v |> AVal.mapWithAdditionalDependenies (id))
304+
>> HashMap.map (fun _ v -> AVal.constant v |> AVal.mapWithAdditionalDependencies (id))
305305

306306
batchRecalcDirty mapping map
307307

test/FsAutoComplete.Tests.Lsp/Program.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ let lspServers =
5858

5959
let sourceTextFactories: (string * ISourceTextFactory) list = [
6060
"NamedText", NamedTextFactory()
61-
"RosylinSourceText", RoslynSourceTextFactory()
61+
"RoslynSourceText", RoslynSourceTextFactory()
6262
]
6363

6464
let mutable toolsPath =

0 commit comments

Comments
 (0)