summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2010-03-16 14:42:09 +0000
committerMartin Odersky <odersky@gmail.com>2010-03-16 14:42:09 +0000
commite21283e8a78159fbeef2f1185a252273d2206f97 (patch)
tree8ee502fca6c7feb118209ef28a56b964006768d2
parent533c7397ed39f1f1c216cd3ada8eb9b3e825d521 (diff)
downloadscala-e21283e8a78159fbeef2f1185a252273d2206f97.tar.gz
scala-e21283e8a78159fbeef2f1185a252273d2206f97.tar.bz2
scala-e21283e8a78159fbeef2f1185a252273d2206f97.zip
Fixes nitpicks by Adriaan in his review.
-rw-r--r--src/compiler/scala/tools/nsc/symtab/Types.scala6
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
* `&lt;prefix&gt;.&lt;sym.name&gt;[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)