aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/SymDenotations.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-11-09 15:38:37 +0100
committerMartin Odersky <odersky@gmail.com>2015-11-09 15:45:42 +0100
commit581960acfe3ff12e3e738ee5714f418d6baf90e7 (patch)
tree8ecc20f5238feca99b7f0afdfa10d8d837690b8f /src/dotty/tools/dotc/core/SymDenotations.scala
parentb23c6b8a626a99270c5495c9c55e214c55a5696b (diff)
downloaddotty-581960acfe3ff12e3e738ee5714f418d6baf90e7.tar.gz
dotty-581960acfe3ff12e3e738ee5714f418d6baf90e7.tar.bz2
dotty-581960acfe3ff12e3e738ee5714f418d6baf90e7.zip
Avoid cyclic reference errors when unpickling classes
Set info early in order to avoid cyclic reference errors. Errors were observed when compiling scala/Predef.scala scala/package.scala scala/collection/GenSeqLike.scala
Diffstat (limited to 'src/dotty/tools/dotc/core/SymDenotations.scala')
-rw-r--r--src/dotty/tools/dotc/core/SymDenotations.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/SymDenotations.scala b/src/dotty/tools/dotc/core/SymDenotations.scala
index feb0c22df..5d079640f 100644
--- a/src/dotty/tools/dotc/core/SymDenotations.scala
+++ b/src/dotty/tools/dotc/core/SymDenotations.scala
@@ -1883,5 +1883,5 @@ object SymDenotations {
private val AccessorOrLabel = Accessor | Label
- private var indent = 0 // for completions printing
+ @sharable private var indent = 0 // for completions printing
}