summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-01-27 01:04:49 +0000
committerPaul Phillips <paulp@improving.org>2011-01-27 01:04:49 +0000
commit07a2981402f85d6b60cf6fe7b927e8c842469bd2 (patch)
treea2bfa6593e6cc46f5b598c2f508e001c2a1de566
parentda33ea21895283dafd9c2862eb7e82313e3a763b (diff)
downloadscala-07a2981402f85d6b60cf6fe7b927e8c842469bd2.tar.gz
scala-07a2981402f85d6b60cf6fe7b927e8c842469bd2.tar.bz2
scala-07a2981402f85d6b60cf6fe7b927e8c842469bd2.zip
In a code review performance for the ages, I fo...
In a code review performance for the ages, I found an instance of the bug being fixed in the commit under review still going strong elsewhere in the file. Since the function with the bug wasn't actually called from anywhere I fixed it by deleting it. No review could possibly improve upon that.
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/Implicits.scala8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Implicits.scala b/src/compiler/scala/tools/nsc/typechecker/Implicits.scala
index 27a582f4d9..bac6af71e9 100644
--- a/src/compiler/scala/tools/nsc/typechecker/Implicits.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/Implicits.scala
@@ -73,14 +73,6 @@ trait Implicits {
def resetImplicits() { implicitsCache.clear() }
private val ManifestSymbols = Set(PartialManifestClass, FullManifestClass, OptManifestClass)
- /** If type `pt` an instance of Manifest or OptManifest, or an abstract type lower-bounded
- * by such an instance?
- */
- def isManifest(pt: Type): Boolean = pt.dealias match {
- case TypeRef(_, sym, _) => ManifestSymbols(sym) || sym.isAbstractType && isManifest(pt.bounds.lo)
- case _ => false
- }
-
/** The result of an implicit search
* @param tree The tree representing the implicit
* @param subst A substituter that represents the undetermined type parameters