diff options
author | Martin Odersky <odersky@gmail.com> | 2013-03-06 22:42:15 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-03-06 22:42:15 +0100 |
commit | 22fc38c4e062d299dc28fc429efdba4521db3651 (patch) | |
tree | e97873cacc8abbead4028ea7d2bfefb1063ec6bf /src/dotty/tools/dotc/core/Contexts.scala | |
parent | 757bf2ecc0a5dc083f21f1dc6c9d22c3795f3790 (diff) | |
download | dotty-22fc38c4e062d299dc28fc429efdba4521db3651.tar.gz dotty-22fc38c4e062d299dc28fc429efdba4521db3651.tar.bz2 dotty-22fc38c4e062d299dc28fc429efdba4521db3651.zip |
Finished polishing of Types and TypeOps.
Manjor change is that splitArgs got eliminated and replaced by an optimized version of typeArgs.
Diffstat (limited to 'src/dotty/tools/dotc/core/Contexts.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/Contexts.scala | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/dotty/tools/dotc/core/Contexts.scala b/src/dotty/tools/dotc/core/Contexts.scala index 080e45341..05188fb78 100644 --- a/src/dotty/tools/dotc/core/Contexts.scala +++ b/src/dotty/tools/dotc/core/Contexts.scala @@ -300,10 +300,13 @@ object Contexts { override def hash(x: Type): Int = x.hash } - /** The number of recursive invocation of underlying on a NamedType */ + /** The number of recursive invocation of underlying on a NamedType + * during a controlled operation. + */ private[core] var underlyingRecursions: Int = 0 - /** The set of named types on which a currently active invocation of underlying exists. */ + /** The set of named types on which a currently active invocation + * of underlying during a controlled operation exists. */ private[core] val pendingUnderlying = new mutable.HashSet[Type] // Phases state |