diff options
author | Paul Phillips <paulp@improving.org> | 2013-01-09 11:52:30 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2013-01-09 12:11:15 -0800 |
commit | 03caf40523cc768c87080e141993ccfe5df7f57f (patch) | |
tree | 2c67927cb88517d7cd89edf44a219f9bc48b881b /src/compiler/scala/tools/nsc/typechecker/Typers.scala | |
parent | 31f073c0eb616d3dffa31572352442a5d913bba3 (diff) | |
download | scala-03caf40523cc768c87080e141993ccfe5df7f57f.tar.gz scala-03caf40523cc768c87080e141993ccfe5df7f57f.tar.bz2 scala-03caf40523cc768c87080e141993ccfe5df7f57f.zip |
Renamed isTrackingVariance to trackVariance.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Typers.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Typers.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Typers.scala b/src/compiler/scala/tools/nsc/typechecker/Typers.scala index d30f912a50..acbd71bc31 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Typers.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Typers.scala @@ -945,7 +945,7 @@ trait Typers extends Modes with Adaptations with Tags { .setOriginal(tree) val skolems = new mutable.ListBuffer[TypeSymbol] - object variantToSkolem extends TypeMap(isTrackingVariance = true) { + object variantToSkolem extends TypeMap(trackVariance = true) { def apply(tp: Type) = mapOver(tp) match { // !!! FIXME - skipping this when variance.isInvariant allows unsoundness, see SI-5189 case TypeRef(NoPrefix, tpSym, Nil) if !variance.isInvariant && tpSym.isTypeParameterOrSkolem && tpSym.owner.isTerm => |