Skip to content

Commit

Permalink
Revert "revert test config"
Browse files Browse the repository at this point in the history
This reverts commit 9663c3b.
  • Loading branch information
0101 committed Feb 5, 2024
1 parent aaa5a29 commit b47ba47
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/FSharp.Test.Utilities/CompilerAssert.fs
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ and Compilation =

module rec CompilerAssertHelpers =

let useTransparentCompiler = FSharp.Compiler.CompilerConfig.FSharpExperimentalFeaturesEnabledAutomatically
let useTransparentCompiler = true
let checker = FSharpChecker.Create(suggestNamesForErrors=true, useTransparentCompiler=useTransparentCompiler)

// Unlike C# whose entrypoint is always string[] F# can make an entrypoint with 0 args, or with an array of string[]
Expand Down
2 changes: 1 addition & 1 deletion tests/FSharp.Test.Utilities/ProjectGeneration.fs
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@ type ProjectWorkflowBuilder
?isExistingProject
) =

let useTransparentCompiler = defaultArg useTransparentCompiler FSharp.Compiler.CompilerConfig.FSharpExperimentalFeaturesEnabledAutomatically
let useTransparentCompiler = defaultArg useTransparentCompiler true
let useGetSource = not useTransparentCompiler && defaultArg useGetSource false
let useChangeNotifications = not useTransparentCompiler && defaultArg useChangeNotifications false
let autoStart = defaultArg autoStart true
Expand Down
2 changes: 1 addition & 1 deletion tests/service/Common.fs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type Async with
task.Result

// Create one global interactive checker instance
let checker = FSharpChecker.Create(useTransparentCompiler=FSharp.Compiler.CompilerConfig.FSharpExperimentalFeaturesEnabledAutomatically)
let checker = FSharpChecker.Create(useTransparentCompiler=true)

type TempFile(ext, contents: string) =
let tmpFile = Path.ChangeExtension(tryCreateTemporaryFileName (), ext)
Expand Down

0 comments on commit b47ba47

Please sign in to comment.