diff options
author | Paul Phillips <paulp@improving.org> | 2013-01-01 15:57:49 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2013-01-09 12:11:13 -0800 |
commit | 882f8e640b034cc69b122ac221f75cbe0018e2c3 (patch) | |
tree | ae7f10d179dcc024836f5e2c0cdf264c2e5e84ef /src/compiler/scala/tools/nsc/typechecker/RefChecks.scala | |
parent | 9be6d0513245d886be31eaabbc5e8ba356433dac (diff) | |
download | scala-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.scala | 2 |
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) = |