Skip to content

Commit 7702a51

Browse files
committed
Rename
1 parent b7f75a4 commit 7702a51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Compiler/Service/FSharpCheckerResults.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2045,7 +2045,7 @@ type internal TypeCheckInfo
20452045
|> Seq.tryFindBack (fun (_, _, _, m) -> equals m range)
20462046
|> Option.map (fun (ty, _, _, _) -> FSharpType (cenv, ty))
20472047

2048-
member scope.GetCapturedDisplayContext(range) =
2048+
member scope.TryGetCapturedDisplayContext(range) =
20492049
sResolutions.CapturedExpressionTypings
20502050
|> Seq.tryFindBack (fun (_, _, _, m) -> equals m range)
20512051
|> Option.map (fun (_, q, _, _) -> FSharpDisplayContext(fun _ -> q.DisplayEnv))
@@ -3498,7 +3498,7 @@ type FSharpCheckFileResults
34983498
member _.TryGetCapturedDisplayContext(range: range) =
34993499
match details with
35003500
| None -> None
3501-
| Some(scope, _) -> scope.GetCapturedDisplayContext(range)
3501+
| Some(scope, _) -> scope.TryGetCapturedDisplayContext(range)
35023502

35033503
member _.GetAllUsesOfAllSymbolsInFile(?cancellationToken: CancellationToken) =
35043504
match details with

0 commit comments

Comments
 (0)