Permalink
Browse files

Use CompilerControl method for askLinkPos.

  • Loading branch information...
1 parent e40898c commit f0e1fde9f8419b3a3ffb26c429fbd6c3ad80ef21 @vigdorchik vigdorchik committed Apr 9, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 org.scala-ide.sdt.core/src/scala/tools/eclipse/LocateSymbol.scala
View
2 org.scala-ide.sdt.core/src/scala/tools/eclipse/LocateSymbol.scala
@@ -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)

0 comments on commit f0e1fde

Please sign in to comment.