Skip to content

Commit

Permalink
If version is None always reparse file
Browse files Browse the repository at this point in the history
  • Loading branch information
Krzysztof-Cieslak committed Jan 26, 2017
1 parent 992ff9a commit 857286c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/FsAutoComplete.Core/CompilerServiceInterface.fs
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@ type FSharpCompilerServiceChecker() =
let! parseResult =
match checker.TryGetRecentCheckResultsForFile(fileName, options,source), version with
| Some (pr, _, v), Some ver when v = ver -> async {return pr}
| _, None -> checker.ParseFileInProject(fileName, source, options)
| _ ->
async {
let! chkd =
Expand Down

0 comments on commit 857286c

Please sign in to comment.