File tree Expand file tree Collapse file tree
src/fsharp/FSharp.Compiler.Service Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ open FSharp.Compiler.AbstractIL
1515open FSharp.Compiler .AbstractIL .IL
1616open FSharp.Compiler .AbstractIL .ILBinaryReader
1717open FSharp.Compiler .CodeAnalysis
18-
1918open FSharp.Compiler .CheckExpressions
2019open FSharp.Compiler .CheckDeclarations
2120open FSharp.Compiler .CompilerConfig
@@ -123,7 +122,9 @@ type internal CompilerStateCache(projectOptions: FSharpProjectOptions) as this =
123122 member x.Reset () =
124123 lock lockObj ( fun () -> compilerStateLazy <- lazy initializeCompilerState())
125124
126- type InteractiveChecker internal ( compilerStateCache ) =
125+ [<AutoOpen>]
126+ module internal ParseAndCheck =
127+
127128 let userOpName = " Unknown"
128129 let suggestNamesForErrors = true
129130
@@ -224,6 +225,9 @@ type InteractiveChecker internal (compilerStateCache) =
224225 errors |> Array.iter ( Array.sortInPlaceBy ( fun x -> x.StartLine, x.StartColumn))
225226 errors |> Array.concat
226227
228+
229+ type InteractiveChecker internal ( compilerStateCache ) =
230+
227231 static member Create ( projectOptions : FSharpProjectOptions ) =
228232 InteractiveChecker( CompilerStateCache( projectOptions))
229233
You can’t perform that action at this time.
0 commit comments