summaryrefslogtreecommitdiff
path: root/src/interactive/scala/tools/nsc
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2015-09-02 13:06:09 +1000
committerJason Zaugg <jzaugg@gmail.com>2015-09-02 13:43:16 +1000
commit3d7066d0a710a05b392b47077f4fe00673df2131 (patch)
tree4f3af39322394aac35e9eda2edd7a8ee1110957b /src/interactive/scala/tools/nsc
parenteca39a40d3c0158192e7364ebb1d9bd5b8deec55 (diff)
downloadscala-3d7066d0a710a05b392b47077f4fe00673df2131.tar.gz
scala-3d7066d0a710a05b392b47077f4fe00673df2131.tar.bz2
scala-3d7066d0a710a05b392b47077f4fe00673df2131.zip
Publicize method in the presentation compiler
Diffstat (limited to 'src/interactive/scala/tools/nsc')
-rw-r--r--src/interactive/scala/tools/nsc/interactive/Global.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interactive/scala/tools/nsc/interactive/Global.scala b/src/interactive/scala/tools/nsc/interactive/Global.scala
index 8f04735ceb..d5caf28991 100644
--- a/src/interactive/scala/tools/nsc/interactive/Global.scala
+++ b/src/interactive/scala/tools/nsc/interactive/Global.scala
@@ -793,7 +793,7 @@ class Global(settings: Settings, _reporter: Reporter, projectName: String = "")
}
/** A fully attributed tree located at position `pos` */
- private[interactive] def typedTreeAt(pos: Position): Tree = getUnit(pos.source) match {
+ private[scala] def typedTreeAt(pos: Position): Tree = getUnit(pos.source) match {
case None =>
reloadSources(List(pos.source))
try typedTreeAt(pos)