Skip to content

Commit

Permalink
Use CompilerControl method for askLinkPos.
Browse files Browse the repository at this point in the history
  • Loading branch information
vigdorchik committed Apr 9, 2011
1 parent e40898c commit f0e1fde
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ trait LocateSymbol { self : ScalaPresentationCompiler =>
(if (sym.pos eq NoPosition) {
file.withSourceFile { (f, _) =>
val pos = new Response[Position]
getLinkPos(sym, f, pos)
askLinkPos(sym, f, pos)
askReload(scu, scu.getContents)
pos.get.left.toOption
} (None)
Expand Down

0 comments on commit f0e1fde

Please sign in to comment.