Skip to content

Commit

Permalink
keep surface area
Browse files Browse the repository at this point in the history
  • Loading branch information
majocha committed Sep 26, 2024
1 parent d65e925 commit 13b3072
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Compiler/Service/service.fs
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,13 @@ type FSharpChecker
?parallelReferenceResolution: bool,
?captureIdentifiersWhenParsing: bool,
?documentSource: DocumentSource,
?useSyntaxTreeCache: bool,
?useTransparentCompiler: bool
) =

// Unused parameter.
ignore useSyntaxTreeCache

use _ = Activity.startNoTags "FSharpChecker.Create"

let legacyReferenceResolver =
Expand Down
3 changes: 3 additions & 0 deletions src/Compiler/Service/service.fsi
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ type public FSharpChecker =
/// <param name="parallelReferenceResolution">Indicates whether to resolve references in parallel.</param>
/// <param name="captureIdentifiersWhenParsing">When set to true we create a set of all identifiers for each parsed file which can be used to speed up finding references.</param>
/// <param name="documentSource">Default: FileSystem. You can use Custom source to provide a function that will return the source for a given file path instead of reading it from the file system. Note that with this option the FSharpChecker will also not monitor the file system for file changes. It will expect to be notified of changes via the NotifyFileChanged method.</param>
/// <param name="useSyntaxTreeCache">Unused.</param>
/// <param name="useTransparentCompiler">Default: false. Indicates whether we use a new experimental background compiler. This does not yet support all features</param>
static member Create:
?projectCacheSize: int *
Expand All @@ -53,6 +54,8 @@ type public FSharpChecker =
?captureIdentifiersWhenParsing: bool *
[<Experimental "This parameter is experimental and likely to be removed in the future.">] ?documentSource:
DocumentSource *
[<Experimental "This parameter is experimental and likely to be removed in the future.">] ?useSyntaxTreeCache:
bool *
[<Experimental "This parameter is experimental and likely to be removed in the future.">] ?useTransparentCompiler:
bool ->
FSharpChecker
Expand Down

0 comments on commit 13b3072

Please sign in to comment.