We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a45f57b commit 4316c9fCopy full SHA for 4316c9f
compiler/src/dotty/tools/dotc/interactive/InteractiveDriver.scala
@@ -134,8 +134,7 @@ class InteractiveDriver(val settings: List[String]) extends Driver {
134
for {
135
entry <- zipFile.stream.toArray((size: Int) => new Array[ZipEntry](size))
136
name = entry.getName
137
- tastySuffix <- tastySuffixes
138
- if name.endsWith(tastySuffix)
+ tastySuffix <- tastySuffixes.find(name.endsWith)
139
} yield name.replace("/", ".").stripSuffix(tastySuffix)
140
}
141
finally zipFile.close()
0 commit comments