11module FSharp.Compiler.Service.Tests.TooltipTests
22
3+
34#nowarn " 57"
45
56open FSharp.Compiler .CodeAnalysis
@@ -8,6 +9,7 @@ open FSharp.Compiler.Text
89open FSharp.Compiler .Tokenization
910open FSharp.Compiler .EditorServices
1011open FSharp.Compiler .Symbols
12+ open FSharp.Test
1113open NUnit.Framework
1214
1315let testXmlDocFallbackToSigFileWhileInImplFile sigSource implSource line colAtEndOfNames lineText names ( expectedContent : string ) =
@@ -29,7 +31,8 @@ let testXmlDocFallbackToSigFileWhileInImplFile sigSource implSource line colAtEn
2931 SourceFiles = [| " A.fsi" ; " A.fs" |] }
3032
3133 let checker =
32- FSharpChecker.Create( documentSource = DocumentSource.Custom documentSource)
34+ FSharpChecker.Create( documentSource = DocumentSource.Custom documentSource,
35+ useTransparentCompiler = CompilerAssertHelpers.UseTransparentCompiler)
3336
3437 let checkResult =
3538 checker.ParseAndCheckFileInProject( " A.fs" , 0 , Map.find " A.fs" files, projectOptions)
@@ -276,7 +279,8 @@ let testToolTipSquashing source line colAtEndOfNames lineText names tokenTag =
276279 SourceFiles = [| " A.fs" |] }
277280
278281 let checker =
279- FSharpChecker.Create( documentSource = DocumentSource.Custom documentSource)
282+ FSharpChecker.Create( documentSource = DocumentSource.Custom documentSource,
283+ useTransparentCompiler = CompilerAssertHelpers.UseTransparentCompiler)
280284
281285 let checkResult =
282286 checker.ParseAndCheckFileInProject( " A.fs" , 0 , Map.find " A.fs" files, projectOptions)
0 commit comments