Skip to content

Commit

Permalink
add comment and clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
majocha committed May 14, 2024
1 parent a2641f5 commit afdd041
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/Compiler/Facilities/DiagnosticsLogger.fs
Original file line number Diff line number Diff line change
Expand Up @@ -909,6 +909,8 @@ type StackGuard(maxDepth: int, name: string) =
static member GetDepthOption(name: string) =
GetEnvInteger ("FSHARP_" + name + "StackGuardDepth") StackGuard.DefaultDepth

// UseMultipleDiagnosticLoggers in ParseAndCheckProject.fs provides similar functionality.
// We should probably adapt and reuse that code.
module MultipleDiagnosticsLoggers =
let Parallel computations =
let computationsWithLoggers, diagnosticsReady =
Expand Down
1 change: 0 additions & 1 deletion tests/FSharp.Compiler.UnitTests/BuildGraphTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ open FSharp.Compiler.BuildGraph
open FSharp.Compiler.DiagnosticsLogger
open Internal.Utilities.Library
open FSharp.Compiler.Diagnostics
open FSharp.Compiler.Tokenization.FSharpTokenTag

module BuildGraphTests =

Expand Down

0 comments on commit afdd041

Please sign in to comment.