Skip to content

Commit 96a00a9

Browse files
committed
update test
1 parent 5bd3748 commit 96a00a9

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

src/fsharp/vs/service.fs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2473,7 +2473,7 @@ type BackgroundCompiler(projectCacheSize, keepAssemblyContents, keepAllBackgroun
24732473
// including by SetAlternate.
24742474
let builderB, errorsB, decrementB = CreateOneIncrementalBuilder options
24752475
incrementalBuildersCache.Set(options, (builderB, errorsB, decrementB))
2476-
//bc.StartBackgroundCompile(options)
2476+
bc.StartBackgroundCompile(options)
24772477

24782478
member bc.NotifyProjectCleaned(options : FSharpProjectOptions) =
24792479
match incrementalBuildersCache.TryGetAny options with
@@ -3050,8 +3050,7 @@ type FSharpChecker(projectCacheSize, keepAssemblyContents, keepAllBackgroundReso
30503050
match checkAnswer with
30513051
| None
30523052
| Some FSharpCheckFileAnswer.Aborted ->
3053-
//backgroundCompiler.StartBackgroundCompile(options)
3054-
()
3053+
backgroundCompiler.StartBackgroundCompile(options)
30553054
| Some (FSharpCheckFileAnswer.Succeeded typedResults) ->
30563055
foregroundTypeCheckCount <- foregroundTypeCheckCount + 1
30573056
parseAndCheckFileInProjectCachePossiblyStale.Set((filename,options),(parseResults,typedResults,fileVersion))

tests/service/ProjectAnalysisTests.fs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4744,29 +4744,29 @@ let ``Test project39 all symbols`` () =
47444744
[("functionWithIncompleteSignature", ((4, 4), (4, 35)),
47454745
("full", "'a -> 'b"), ("params", [["'a"]]), ("return", "'b"));
47464746
("curriedFunctionWithIncompleteSignature", ((5, 4), (5, 42)),
4747-
("full", "'a -> 'a0 -> 'a * 'a0 -> 'b when 'a0 : equality"),
4747+
("full", "'a -> 'a0 -> 'a * 'a0 -> 'b"),
47484748
("params",
4749-
[["'a"]; ["'a0 when 'a0 : equality"]; ["'a"; "'a0 when 'a0 : equality"]]),
4749+
[["'a"]; ["'a0"]; ["'a"; "'a0"]]),
47504750
("return", "'b"));
47514751
("MemberWithIncompleteSignature", ((10, 13), (10, 42)),
47524752
("full", "C -> 'c -> 'd"), ("params", [["'c"]]), ("return", "'d"));
47534753
("CurriedMemberWithIncompleteSignature", ((11, 13), (11, 49)),
4754-
("full", "C -> 'a -> 'a0 -> 'a * 'a0 -> 'b when 'a0 : equality"),
4754+
("full", "C -> 'a -> 'a0 -> 'a * 'a0 -> 'b"),
47554755
("params",
4756-
[["'a"]; ["'a0 when 'a0 : equality"]; ["'a"; "'a0 when 'a0 : equality"]]),
4756+
[["'a"]; ["'a0"]; ["'a"; "'a0"]]),
47574757
("return", "'b"));
47584758
("functionWithIncompleteSignature", ((16, 3), (16, 34)),
47594759
("full", "'a -> 'b"), ("params", [["'a"]]), ("return", "'b"));
47604760
("curriedFunctionWithIncompleteSignature", ((17, 3), (17, 41)),
4761-
("full", "'a -> 'a0 -> 'a * 'a0 -> 'b when 'a0 : equality"),
4761+
("full", "'a -> 'a0 -> 'a * 'a0 -> 'b"),
47624762
("params",
4763-
[["'a"]; ["'a0 when 'a0 : equality"]; ["'a"; "'a0 when 'a0 : equality"]]),
4763+
[["'a"]; ["'a0"]; ["'a"; "'a0"]]),
47644764
("return", "'b"));
47654765
("MemberWithIncompleteSignature", ((18, 3), (18, 36)),
47664766
("full", "'c -> 'd"), ("params", [["'c"]]), ("return", "'d"));
47674767
("CurriedMemberWithIncompleteSignature", ((19, 3), (19, 43)),
4768-
("full", "'a -> 'a0 -> 'a * 'a0 -> 'b when 'a0 : equality"),
4768+
("full", "'a -> 'a0 -> 'a * 'a0 -> 'b"),
47694769
("params",
4770-
[["'a"]; ["'a0 when 'a0 : equality"]; ["'a"; "'a0 when 'a0 : equality"]]),
4770+
[["'a"]; ["'a0"]; ["'a"; "'a0"]]),
47714771
("return", "'b"))]
47724772

0 commit comments

Comments
 (0)