Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix tests
  • Loading branch information
cartermp committed May 29, 2019
commit 6e084c1f8773914b074c89abbb0e8303751f6888
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<InternalsVisibleTo Include="VisualFSharp.Salsa" />
<InternalsVisibleTo Include="VisualFSharp.UnitTests" />
<InternalsVisibleTo Include="FSharp.Compiler.UnitTests" />
<InternalsVisibleTo Include="FSharp.Editor" />
<!--<InternalsVisibleTo Include="FSharp.Editor" />-->
<InternalsVisibleTo Include="HostedCompilerServer" />
<InternalsVisibleTo Include="FSharp.Tests.FSharpSuite" />
<InternalsVisibleTo Include="LanguageServiceProfiling" />
Expand Down
2 changes: 1 addition & 1 deletion vsintegration/tests/Salsa/FSharpLanguageServiceTestable.fs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ type internal FSharpLanguageServiceTestable() as this =
member this.Initialize (sp, dp, prefs, sourceFact) =
if this.Unhooked then raise Error.UseOfUnhookedLanguageServiceState
artifacts <- Some (ProjectSitesAndFiles())
let checker = FSharpChecker.Create(legacyReferenceResolver=FSharp.Compiler.MSBuildReferenceResolver.Resolver)
let checker = FSharpChecker.Create(useLegacyReferenceResolver=true)
checker.BeforeBackgroundFileCheck.Add (fun (filename,_) -> UIThread.Run(fun () -> this.NotifyFileTypeCheckStateIsDirty(filename)))
checkerContainerOpt <- Some (checker)
serviceProvider <- Some sp
Expand Down
2 changes: 1 addition & 1 deletion vsintegration/tests/UnitTests/TestLib.LanguageService.fs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ open Microsoft.VisualStudio.FSharp

[<AutoOpen>]
module internal Globals =
let checker = FSharpChecker.Create(legacyReferenceResolver=FSharp.Compiler.MSBuildReferenceResolver.Resolver)
let checker = FSharpChecker.Create(useLegacyReferenceResolver=true)


//open Internal.Utilities
Expand Down