mirror of https://github.com/sbt/sbt.git
Fix serialization in Sync.
The serialized structures there aren't part of an Analysis, so they aren't interned. TODO: Refactor InternedAnalysisFormats so that this is more straightforward and less error-prone. This commit is a first-pass fix of the broken test.
This commit is contained in:
parent
1030902207
commit
655e2e5c91
|
|
@ -71,8 +71,7 @@ object Sync
|
|||
import sbinary._
|
||||
import Operations.{read, write}
|
||||
import DefaultProtocol.{FileFormat => _, _}
|
||||
val formats = new sbt.inc.InternedAnalysisFormats()
|
||||
import formats._
|
||||
import sbt.inc.AnalysisFormats.{fileFormat, relationFormat}
|
||||
|
||||
def writeInfo[F <: FileInfo](file: File, relation: Relation[File, File], info: Map[File, F])(implicit infoFormat: Format[F]): Unit =
|
||||
IO.gzipFileOut(file) { out =>
|
||||
|
|
|
|||
Loading…
Reference in New Issue