diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2015-09-02 13:06:09 +1000 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2015-09-02 13:43:16 +1000 |
commit | 3d7066d0a710a05b392b47077f4fe00673df2131 (patch) | |
tree | 4f3af39322394aac35e9eda2edd7a8ee1110957b /src/interactive/scala | |
parent | eca39a40d3c0158192e7364ebb1d9bd5b8deec55 (diff) | |
download | scala-3d7066d0a710a05b392b47077f4fe00673df2131.tar.gz scala-3d7066d0a710a05b392b47077f4fe00673df2131.tar.bz2 scala-3d7066d0a710a05b392b47077f4fe00673df2131.zip |
Publicize method in the presentation compiler
Diffstat (limited to 'src/interactive/scala')
-rw-r--r-- | src/interactive/scala/tools/nsc/interactive/Global.scala | 2 |
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) |