Skip to content

Commit 9d89076

Browse files
committed
Work around #2391: sealed => private[tools]
1 parent 72e7bce commit 9d89076

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/src/dotty/tools/io/ZipArchive.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ abstract class ZipArchive(override val file: JFile) extends AbstractFile with Eq
6868
def absolute = unsupported()
6969

7070
/** ''Note: This library is considered experimental and should not be used unless you know what you are doing.'' */
71-
sealed abstract class Entry(path: String) extends VirtualFile(baseName(path), path) {
71+
// FIXME: `private[tools]` should be `sealed` once #2391 is fixed
72+
private[tools] abstract class Entry(path: String) extends VirtualFile(baseName(path), path) {
7273
// have to keep this name for compat with sbt's compiler-interface
7374
def getArchive: ZipFile = null
7475
override def underlyingSource = Some(self)

0 commit comments

Comments
 (0)