Skip to content

Commit

Permalink
just a typo fix for more consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin521 committed Feb 28, 2025
1 parent 53d8e94 commit 88c058d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Compiler/Driver/fsc.fs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ type DiagnosticsLoggerUpToMaxErrors(tcConfigB: TcConfigBuilder, exiter: Exiter,
override x.DiagnosticSink(diagnostic, severity) =
let tcConfig = TcConfig.Create(tcConfigB, validate = false)

match diagnostic.AdjustSeverity(tcConfigB.diagnosticsOptions, severity) with
match diagnostic.AdjustSeverity(tcConfig.diagnosticsOptions, severity) with
| FSharpDiagnosticSeverity.Error ->
if errors >= tcConfig.maxErrors then
x.HandleTooManyErrors(FSComp.SR.fscTooManyErrors ())
Expand Down

0 comments on commit 88c058d

Please sign in to comment.