Skip to content

Commit aaca7de

Browse files
committed
remove more warnings
1 parent fb25920 commit aaca7de

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/fsharp/vs/ServiceUntypedParse.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ type FSharpParseFileResults(errors : FSharpErrorInfo[], input : Ast.ParsedInput
9090

9191
member scope.FindNoteworthyParamInfoLocations(pos) =
9292
match input with
93-
| Some(input) -> NoteworthyParamInfoLocations.Find(pos,input)
93+
| Some(input) -> FSharpNoteworthyParamInfoLocations.Find(pos,input)
9494
| _ -> None
9595

9696
/// Get declared items and the selected item at the specified location

src/fsharp/vs/service.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ module internal Params =
9292
let initial = ParamOfRecdField g denv f
9393
let description = if isGenerated i f then initial.Description else NicePrint.stringOfParamData denv (ParamData(false, false, NotOptional, Some f.rfield_id, ReflectedArgInfo.None, f.rfield_type))
9494
FSharpMethodGroupItemParameter(
95-
name=initial.Name,
95+
name=initial.ParameterName,
9696
canonicalTypeTextForSorting=initial.CanonicalTypeTextForSorting,
9797
display=initial.Display,
9898
description=description)

src/fsharp/vs/service.fsi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ type FSharpMethodGroupItemParameter =
4141
type FSharpMethodGroupItem =
4242

4343
/// The formatted description text for the method (or other item)
44-
member Description : ToolTipText
44+
member Description : FSharpToolTipText
4545

4646
/// The formatted type text for the method (or other item)
4747
member TypeText: string
@@ -212,7 +212,7 @@ type FSharpCheckFileResults =
212212
/// <param name="lineText">The text of the line where the information is being requested.</param>
213213
/// <param name="names">The identifiers at the location where the information is being requested.</param>
214214
/// <param name="tokenTag">Used to discriminate between 'identifiers', 'strings' and others. For strings, an attempt is made to give a tooltip for a #r "..." location. Use a value from FSharpTokenInfo.Tag, or FSharpTokenTag.Identifier, unless you have other information available.</param>
215-
member GetToolTipTextAlternate : line:int * colAtEndOfNames:int * lineText:string * names:string list * tokenTag:int -> Async<ToolTipText>
215+
member GetToolTipTextAlternate : line:int * colAtEndOfNames:int * lineText:string * names:string list * tokenTag:int -> Async<FSharpToolTipText>
216216

217217
/// <summary>Compute the Visual Studio F1-help key identifier for the given location, based on name resolution results</summary>
218218
///
@@ -282,10 +282,10 @@ type FSharpCheckFileResults =
282282
member GetDeclarations : ParsedFileResultsOpt:FSharpParseFileResults option * line: Line0 * colAtEndOfPartialName: int * lineText:string * qualifyingNames: string list * partialName: string * ?hasTextChangedSinceLastTypecheck: (obj * Range01 -> bool) -> Async<FSharpDeclarationListInfo>
283283

284284
[<Obsolete("This member has been replaced by GetToolTipTextAlternate, which accepts a 1-based line number rather than a 0-based line number. See https://github.com/fsharp/FSharp.Compiler.Service/issues/64")>]
285-
member GetToolTipText : line:Line0 * colAtEndOfNames:int * lineText:string * names:string list * tokenTag:int -> ToolTipText
285+
member GetToolTipText : line:Line0 * colAtEndOfNames:int * lineText:string * names:string list * tokenTag:int -> FSharpToolTipText
286286

287287
[<Obsolete("This method has been renamed to GetToolTipText")>]
288-
member GetDataTipText : line:Line0 * colAtEndOfNames:int * lineText:string * names:string list * tokenTag:int -> ToolTipText
288+
member GetDataTipText : line:Line0 * colAtEndOfNames:int * lineText:string * names:string list * tokenTag:int -> FSharpToolTipText
289289

290290
[<Obsolete("This member has been replaced by GetF1KeywordAlternate, which accepts a 1-based line number rather than a 0-based line number. See https://github.com/fsharp/FSharp.Compiler.Service/issues/64")>]
291291
member GetF1Keyword : line:Line0 * colAtEndOfNames:int * lineText:string * names:string list -> string option

0 commit comments

Comments
 (0)