remove some explicitly constructed implicits no longer necessary with 2.8.1

This commit is contained in:
Mark Harrah 2010-09-21 22:29:18 -04:00
parent 066e88e2e8
commit 92df7fe3ee
1 changed files with 1 additions and 8 deletions

View File

@ -84,12 +84,5 @@ class AggressiveCompile(cacheDirectory: File)
def javaOnly(f: File) = f.getName.endsWith(".java")
import AnalysisFormats._
// The following intermediate definitions are needed because of Scala's implicit parameter rules.
// implicit def a(implicit b: Format[T[Int]]): Format[S] = ...
// triggers a diverging expansion because Format[T[Int]] dominates Format[S]
implicit val r = relationFormat[File,File]
implicit val rF = relationsFormat(r,r,r, relationFormat[File, String])
implicit val aF = analysisFormat(stampsFormat, apisFormat, rF)
val store = AnalysisStore.sync(AnalysisStore.cached(FileBasedStore(cacheDirectory)(aF, setupFormat)))
val store = AnalysisStore.sync(AnalysisStore.cached(FileBasedStore(cacheDirectory)))
}