Skip to content
This repository has been archived by the owner on Oct 31, 2021. It is now read-only.

remove lazy FSharpChecker construction from XmlDocParser and DepthParser #1173

Conversation

vasily-kirichenko
Copy link
Contributor

No description provided.

@@ -34,8 +34,8 @@ type DepthTagger(buffer: ITextBuffer, filename: string, fsharpLanguageService: V
let snapshot = buffer.CurrentSnapshot // this is the possibly-out-of-date snapshot everyone here works with
let sourceCodeOfTheFile = snapshot.GetText()
let! ranges = fsharpLanguageService.CheckerAsync (fun x ->
DepthParser.GetNonoverlappingDepthRanges(sourceCodeOfTheFile, filename, x))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rename x to checker.

@vasily-kirichenko
Copy link
Contributor Author

All done.

@dungpa
Copy link
Contributor

dungpa commented Oct 15, 2015

Great. Thanks for cleaning it up.

dungpa added a commit that referenced this pull request Oct 15, 2015
…er-creation

remove lazy FSharpChecker construction from XmlDocParser and DepthParser
@dungpa dungpa merged commit 0fc4314 into fsprojects-archive:master Oct 15, 2015
@vasily-kirichenko vasily-kirichenko deleted the normilize-FSharpChecker-creation branch November 1, 2015 16:59
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants