File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
src/FSharpLint.Core/Application
tests/FSharpLint.Core.Tests Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -585,7 +585,7 @@ module Lint =
585585 LintResult.Failure ( RunTimeConfigError err)
586586
587587 /// Lints F# source code.
588- let lintSourceAsync optionalParams source =
588+ let asyncLintSource optionalParams source =
589589 async {
590590 let checker = FSharpChecker.Create( keepAssemblyContents= true )
591591
@@ -602,7 +602,7 @@ module Lint =
602602
603603 /// Lints F# source code.
604604 let lintSource optionalParams source =
605- lintSourceAsync optionalParams source |> Async.RunSynchronously
605+ asyncLintSource optionalParams source |> Async.RunSynchronously
606606
607607 /// Lints an F# file that has already been parsed using `FSharp.Compiler.Services` in the calling application.
608608 let lintParsedFile ( optionalParams : OptionalLintParameters ) ( parsedFileInfo : ParsedFileInformation ) ( filePath : string ) =
Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ module Lint =
157157 val lintSource : optionalParams : OptionalLintParameters -> source : string -> LintResult
158158
159159 /// Lints F# source code async.
160- val lintSourceAsync : optionalParams : OptionalLintParameters -> source : string -> Async < LintResult >
160+ val asyncLintSource : optionalParams : OptionalLintParameters -> source : string -> Async < LintResult >
161161
162162 /// Lints F# source code that has already been parsed using
163163 /// `FSharp.Compiler.Services` in the calling application.
@@ -171,4 +171,4 @@ module Lint =
171171
172172 /// Lints an F# file that has already been parsed using
173173 /// `FSharp.Compiler.Services` in the calling application.
174- val lintParsedFile : optionalParams : OptionalLintParameters -> parsedFileInfo : ParsedFileInformation -> filePath : string -> LintResult
174+ val lintParsedFile : optionalParams : OptionalLintParameters -> parsedFileInfo : ParsedFileInformation -> filePath : string -> LintResult
Original file line number Diff line number Diff line change 1515
1616 let private performanceTestSourceFile = basePath </> " TypeChecker.fs"
1717
18- let generateAstAsync source =
18+ let asyncGenerateAst source =
1919 async {
2020 let checker = FSharpChecker.Create( keepAssemblyContents= true )
2121 let sourceText = SourceText.ofString source
3030 }
3131
3232 let generateAst source =
33- generateAstAsync source |> Async.RunSynchronously
33+ asyncGenerateAst source |> Async.RunSynchronously
3434
3535 let getPerformanceTestInput =
3636 let memoizedResult = ref None
You can’t perform that action at this time.
0 commit comments