summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/symtab/Types.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/scala/tools/nsc/symtab/Types.scala')
-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
* `<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)