@@ -125,7 +125,6 @@ type FSharpChecker
125125 captureIdentifiersWhenParsing,
126126 getSource,
127127 useChangeNotifications,
128- useSyntaxTreeCache,
129128 useTransparentCompiler
130129 ) =
131130
@@ -144,8 +143,7 @@ type FSharpChecker
144143 parallelReferenceResolution,
145144 captureIdentifiersWhenParsing,
146145 getSource,
147- useChangeNotifications,
148- useSyntaxTreeCache
146+ useChangeNotifications
149147 )
150148 :> IBackgroundCompiler
151149 else
@@ -162,8 +160,7 @@ type FSharpChecker
162160 parallelReferenceResolution,
163161 captureIdentifiersWhenParsing,
164162 getSource,
165- useChangeNotifications,
166- useSyntaxTreeCache
163+ useChangeNotifications
167164 )
168165 :> IBackgroundCompiler
169166
@@ -209,7 +206,6 @@ type FSharpChecker
209206 ? parallelReferenceResolution : bool ,
210207 ? captureIdentifiersWhenParsing : bool ,
211208 ? documentSource : DocumentSource ,
212- ? useSyntaxTreeCache : bool ,
213209 ? useTransparentCompiler : bool
214210 ) =
215211
@@ -238,8 +234,6 @@ type FSharpChecker
238234 | Some( DocumentSource.Custom _) -> true
239235 | _ -> false
240236
241- let useSyntaxTreeCache = defaultArg useSyntaxTreeCache true
242-
243237 if keepAssemblyContents && enablePartialTypeChecking then
244238 invalidArg " enablePartialTypeChecking" " 'keepAssemblyContents' and 'enablePartialTypeChecking' cannot be both enabled."
245239
@@ -261,7 +255,6 @@ type FSharpChecker
261255 | Some( DocumentSource.Custom f) -> Some f
262256 | _ -> None),
263257 useChangeNotifications,
264- useSyntaxTreeCache,
265258 useTransparentCompiler
266259 )
267260
0 commit comments