aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Contexts.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2013-03-14 09:53:30 +0100
committerMartin Odersky <odersky@gmail.com>2013-03-14 09:53:30 +0100
commitd2767983aa4aeb9caccfd56273a1ac93e576bb4a (patch)
tree9089a4469419281488c25574b813eb62941de6be /src/dotty/tools/dotc/core/Contexts.scala
parent3c7a8eada3630989b07bd3022797fd42a3b8cfcc (diff)
downloaddotty-d2767983aa4aeb9caccfd56273a1ac93e576bb4a.tar.gz
dotty-d2767983aa4aeb9caccfd56273a1ac93e576bb4a.tar.bz2
dotty-d2767983aa4aeb9caccfd56273a1ac93e576bb4a.zip
Various fixes that make loadDef largely work.
Only problem is that there are stubs for AnyRef generated.
Diffstat (limited to 'src/dotty/tools/dotc/core/Contexts.scala')
-rw-r--r--src/dotty/tools/dotc/core/Contexts.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dotty/tools/dotc/core/Contexts.scala b/src/dotty/tools/dotc/core/Contexts.scala
index fd2ce2251..d2b41b9a3 100644
--- a/src/dotty/tools/dotc/core/Contexts.scala
+++ b/src/dotty/tools/dotc/core/Contexts.scala
@@ -334,6 +334,11 @@ object Contexts {
// Printers state
/** Number of recursive invocations of a show method on cuyrrent stack */
private[core] var showRecursions = 0
+
+ // Reporters state
+ private[dotc] var indent = 0
+
+ protected[dotc] val indentTab = " "
}
object Context {