Fixes nitpicks by Adriaan in his review. No review necessary.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@21190 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
odersky 2010-03-16 14:42:09 +00:00
parent a1c346a736
commit d95a835c8a
1 changed files with 3 additions and 3 deletions

View File

@ -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)