diff options
author | Sean McDirmid <sean.mcdirmid@gmail.com> | 2008-03-29 02:42:12 +0000 |
---|---|---|
committer | Sean McDirmid <sean.mcdirmid@gmail.com> | 2008-03-29 02:42:12 +0000 |
commit | 75ea6c9f2a9e88bcf5cb87aefb951fba18f24440 (patch) | |
tree | 9e6c7f3c7ded7ff2b2f6ded91bbd8558513acd6c /src/compiler | |
parent | 54f611edb31c867a46a2df4d83df7068358ea39e (diff) | |
download | scala-75ea6c9f2a9e88bcf5cb87aefb951fba18f24440.tar.gz scala-75ea6c9f2a9e88bcf5cb87aefb951fba18f24440.tar.bz2 scala-75ea6c9f2a9e88bcf5cb87aefb951fba18f24440.zip |
Disabling assertion that seems wrong.
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/io/ZipArchive.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/io/ZipArchive.scala b/src/compiler/scala/tools/nsc/io/ZipArchive.scala index 97a8e0d5ec..4c9564f319 100644 --- a/src/compiler/scala/tools/nsc/io/ZipArchive.scala +++ b/src/compiler/scala/tools/nsc/io/ZipArchive.scala @@ -125,7 +125,8 @@ final class ZipArchive(file: File, val archive: ZipFile) extends PlainFile(file) val name = if (index < 0) path else path.substring(index + 1) val home = if (index < 0) "/" else path.substring(0, index + 1) val parent: DirEntry = getDir(dirs, home) - assert(!parent.entries.contains(path), this.toString() + " - " + path) + if (!parent.entries.contains(name)) + Console.println("XXX: " + this.toString() + " - " + home + "/" + name) parent.entries.update(name, new FileEntry(parent, name, path, entry)) } } |