diff options
author | Martin Odersky <odersky@gmail.com> | 2010-03-16 14:42:09 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2010-03-16 14:42:09 +0000 |
commit | e21283e8a78159fbeef2f1185a252273d2206f97 (patch) | |
tree | 8ee502fca6c7feb118209ef28a56b964006768d2 /src | |
parent | 533c7397ed39f1f1c216cd3ada8eb9b3e825d521 (diff) | |
download | scala-e21283e8a78159fbeef2f1185a252273d2206f97.tar.gz scala-e21283e8a78159fbeef2f1185a252273d2206f97.tar.bz2 scala-e21283e8a78159fbeef2f1185a252273d2206f97.zip |
Fixes nitpicks by Adriaan in his review.
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/symtab/Types.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compiler/scala/tools/nsc/symtab/Types.scala b/src/compiler/scala/tools/nsc/symtab/Types.scala index ac7a9fd864..c91737ef92 100644 --- a/src/compiler/scala/tools/nsc/symtab/Types.scala +++ b/src/compiler/scala/tools/nsc/symtab/Types.scala @@ -1534,7 +1534,7 @@ trait Types extends reflect.generic.Types { self: SymbolTable => } private var volatileRecursions: Int = 0 - private var pendingVolatiles = new collection.mutable.HashSet[Symbol] + private val pendingVolatiles = new collection.mutable.HashSet[Symbol] /** A class for named types of the form * `<prefix>.<sym.name>[args]' @@ -4119,9 +4119,9 @@ A type's typeSymbol should never be inspected directly. */ def isSameTypes(tps1: List[Type], tps2: List[Type]): Boolean = (tps1 corresponds tps2)(_ =:= _) - private var pendingSubTypes = new collection.mutable.HashSet[SubTypePair] + private val pendingSubTypes = new collection.mutable.HashSet[SubTypePair] private var basetypeRecursions: Int = 0 - private var pendingBaseTypes = new collection.mutable.HashSet[Type] + private val pendingBaseTypes = new collection.mutable.HashSet[Type] def isSubType(tp1: Type, tp2: Type): Boolean = isSubType(tp1, tp2, AnyDepth) |