summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2013-01-01 15:57:49 -0800
committerPaul Phillips <paulp@improving.org>2013-01-09 12:11:13 -0800
commit882f8e640b034cc69b122ac221f75cbe0018e2c3 (patch)
treeae7f10d179dcc024836f5e2c0cdf264c2e5e84ef /src/compiler/scala/tools/nsc/typechecker/RefChecks.scala
parent9be6d0513245d886be31eaabbc5e8ba356433dac (diff)
downloadscala-882f8e640b034cc69b122ac221f75cbe0018e2c3.tar.gz
scala-882f8e640b034cc69b122ac221f75cbe0018e2c3.tar.bz2
scala-882f8e640b034cc69b122ac221f75cbe0018e2c3.zip
Eliminated VariantTypeMap.
Made variance tracking a constructor parameter to TypeMap. Eliminated more variance duplication.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/RefChecks.scala')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/RefChecks.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala b/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala
index 704aebc50b..750a4f65ec 100644
--- a/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala
@@ -1459,7 +1459,7 @@ abstract class RefChecks extends InfoTransform with scala.reflect.internal.trans
hidden = o.isTerm || o.isPrivateLocal
o = o.owner
}
- if (!hidden) varianceValidator.escapedPrivateLocals += sym
+ if (!hidden) varianceValidator.escapedLocals += sym
}
def checkSuper(mix: Name) =