Skip to content

Commit

Permalink
Fix build after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
safesparrow committed Dec 7, 2022
1 parent 6a500d4 commit 881f572
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/Compiler/Driver/ParseAndCheckInputs.fs
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@
module internal FSharp.Compiler.ParseAndCheckInputs

open System
open System.Collections.Concurrent
open System.Diagnostics
open System.IO
open System.Collections.Generic

open System.Threading
open Internal.Utilities.Collections
open Internal.Utilities.Library
open Internal.Utilities.Library.Extras
Expand Down Expand Up @@ -1465,7 +1463,8 @@ let CheckOneInputAux'
checkForErrors,
conditionalDefines,
tcSink,
tcConfig.internalTestSpanStackReferring)
tcConfig.internalTestSpanStackReferring,
tcConfig.diagnosticsOptions)
tcState.tcsTcSigEnv
file

Expand Down Expand Up @@ -1534,7 +1533,8 @@ let CheckOneInputAux'
tcConfig.internalTestSpanStackReferring,
tcState.tcsTcImplEnv,
rootSigOpt,
file
file,
tcConfig.diagnosticsOptions
)

// printfn $"Finished Processing Impl {file.FileName}"
Expand Down
4 changes: 0 additions & 4 deletions tests/ParallelTypeCheckingTests/Code/FileContentMapping.fs
Original file line number Diff line number Diff line change
Expand Up @@ -264,10 +264,6 @@ let visitSynType (t: SynType) : FileContentEntry list =
| SynType.WithGlobalConstraints (typeName, constraints, _) ->
visit typeName (fun nodes -> nodes @ lc visitSynTypeConstraint constraints |> continuation)
| SynType.HashConstraint (innerType, _) -> visit innerType continuation
| SynType.MeasureDivide (dividend, divisor, _) ->
let continuations = List.map visit [ dividend; divisor ]
let finalContinuation = lc id >> continuation
Continuation.sequence continuations finalContinuation
| SynType.MeasurePower (baseMeasure = baseMeasure) -> visit baseMeasure continuation
| SynType.StaticConstant _ -> continuation []
| SynType.StaticConstantExpr (expr, _) -> continuation (visitSynExpr expr)
Expand Down

0 comments on commit 881f572

Please sign in to comment.