diff options
author | Adriaan Moors <adriaan.moors@epfl.ch> | 2011-06-15 14:45:33 +0000 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@epfl.ch> | 2011-06-15 14:45:33 +0000 |
commit | 0cebb74f673de59c357c5284935db0cfc69bbe40 (patch) | |
tree | cbc8560f669966f8bc39806e27a74a7357d0b5ce /src/compiler/scala/tools/nsc/typechecker/Typers.scala | |
parent | 30f0befbfc2be315274bda726ecffffa18c5f7d7 (diff) | |
download | scala-0cebb74f673de59c357c5284935db0cfc69bbe40.tar.gz scala-0cebb74f673de59c357c5284935db0cfc69bbe40.tar.bz2 scala-0cebb74f673de59c357c5284935db0cfc69bbe40.zip |
got rid of grotesque isCompat closure in exprTy...
got rid of grotesque isCompat closure in exprTypeArgs and friends. no
review
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 d2218cd977..a26ce862b4 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Typers.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Typers.scala @@ -744,7 +744,7 @@ trait Typers extends Modes { // Looking for a manifest of Nil: This has many potential types, // so we need to instantiate to minimal type List[Nothing]. keepNothings = false, // retract Nothing's that indicate failure, ambiguities in manifests are dealt with in manifestOfType - checkCompat = isWeaklyCompatible) // #3808 + useWeaklyCompatible = true) // #3808 } val typer1 = constrTyperIf(treeInfo.isSelfOrSuperConstrCall(tree)) |