aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Denotations.scala
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2015-03-30 13:26:54 +0200
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2015-03-30 13:26:54 +0200
commitcdbe81e95cbf5e67fe4289b450440b63147f68ab (patch)
treeaff000373fec696f9e42772189862231d269fc1c /src/dotty/tools/dotc/core/Denotations.scala
parentb653007ed0f30298b44dcc67bf032c1d2d58bcaf (diff)
downloaddotty-cdbe81e95cbf5e67fe4289b450440b63147f68ab.tar.gz
dotty-cdbe81e95cbf5e67fe4289b450440b63147f68ab.tar.bz2
dotty-cdbe81e95cbf5e67fe4289b450440b63147f68ab.zip
Fix #440: entering symbol into scope also enters it into future scopes.
Diffstat (limited to 'src/dotty/tools/dotc/core/Denotations.scala')
-rw-r--r--src/dotty/tools/dotc/core/Denotations.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/Denotations.scala b/src/dotty/tools/dotc/core/Denotations.scala
index a4169628c..6ca1bae8f 100644
--- a/src/dotty/tools/dotc/core/Denotations.scala
+++ b/src/dotty/tools/dotc/core/Denotations.scala
@@ -471,7 +471,7 @@ object Denotations {
* 2) the union of all validity periods is a contiguous
* interval.
*/
- private var nextInRun: SingleDenotation = this
+ protected var nextInRun: SingleDenotation = this
/** The version of this SingleDenotation that was valid in the first phase
* of this run.