@@ -282,10 +282,10 @@ module Lint =
282
282
283
283
use p = new System.Diagnostics.Process( StartInfo = psi)
284
284
let sbOut = System.Text.StringBuilder()
285
- p.OutputDataReceived.Add( fun ea -> sbOut.AppendLine( ea.Data) |> ignore)
285
+ p.OutputDataReceived.Add( fun ea -> sbOut.AppendLine( ea.Data) |> ignore< Text.StringBuilder > )
286
286
let sbErr = System.Text.StringBuilder()
287
- p.ErrorDataReceived.Add( fun ea -> sbErr.AppendLine( ea.Data) |> ignore)
288
- p.Start() |> ignore
287
+ p.ErrorDataReceived.Add( fun ea -> sbErr.AppendLine( ea.Data) |> ignore< Text.StringBuilder > )
288
+ p.Start() |> ignore< bool >
289
289
p.BeginOutputReadLine()
290
290
p.BeginErrorReadLine()
291
291
p.WaitForExit()
@@ -410,7 +410,7 @@ module Lint =
410
410
let projectProgress = Option.defaultValue ignore optionalParams.ReportLinterProgress
411
411
412
412
let warningReceived ( warning : Suggestion.LintWarning ) =
413
- lintWarnings.AddLast warning |> ignore
413
+ lintWarnings.AddLast warning |> ignore< LinkedListNode < Suggestion.LintWarning >>
414
414
415
415
optionalParams.ReceivedWarning |> Option.iter ( fun func -> func warning)
416
416
@@ -517,7 +517,7 @@ module Lint =
517
517
let lintWarnings = LinkedList< Suggestion.LintWarning>()
518
518
519
519
let warningReceived ( warning : Suggestion.LintWarning ) =
520
- lintWarnings.AddLast warning |> ignore
520
+ lintWarnings.AddLast warning |> ignore< LinkedListNode < Suggestion.LintWarning >>
521
521
522
522
optionalParams.ReceivedWarning |> Option.iter ( fun func -> func warning)
523
523
let lintInformation =
@@ -559,7 +559,7 @@ module Lint =
559
559
let lintWarnings = LinkedList< Suggestion.LintWarning>()
560
560
561
561
let warningReceived ( warning : Suggestion.LintWarning ) =
562
- lintWarnings.AddLast warning |> ignore
562
+ lintWarnings.AddLast warning |> ignore< LinkedListNode < Suggestion.LintWarning >>
563
563
564
564
optionalParams.ReceivedWarning |> Option.iter ( fun func -> func warning)
565
565
0 commit comments