Skip to content

Commit

Permalink
Fix Type Mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinRansom committed Dec 16, 2016
1 parent c906bad commit afb7ddc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Navigation/GoToDefinitionService.fs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ type internal FSharpGoToDefinitionService
let textLine = sourceText.Lines.GetLineFromPosition(position)
let textLinePos = sourceText.Lines.GetLinePosition(position)
let fcsTextLineNumber = textLinePos.Line + 1 // Roslyn line numbers are zero-based, FSharp.Compiler.Service line numbers are 1-based
match CommonHelpers.tryClassifyAtPosition(documentKey, sourceText, filePath, defines, position, true, cancellationToken) with
match CommonHelpers.tryClassifyAtPosition(documentKey, sourceText, filePath, defines, position, cancellationToken) with
| Some (islandColumn, qualifiers, _) ->
let! _parseResults, checkFileAnswer = checker.ParseAndCheckFileInProject(filePath, textVersionHash, sourceText.ToString(), options)
match checkFileAnswer with
Expand Down

0 comments on commit afb7ddc

Please sign in to comment.