We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
PlainFile.delete()
1 parent d79bbf0 commit c6086f6Copy full SHA for c6086f6
compiler/src/dotty/tools/dotc/core/tasty/BestEffortTastyWriter.scala
@@ -18,8 +18,8 @@ object BestEffortTastyWriter:
18
unit.pickled.foreach { (clz, binary) =>
19
val parts = clz.fullName.mangledString.split('.')
20
val outPath = outputPath(parts.toList, dir)
21
- val outTastyFile = new PlainFile(new File(outPath))
22
- val outstream = new DataOutputStream(outTastyFile.bufferedOutput)
+ val outTastyFile = new File(outPath)
+ val outstream = new DataOutputStream(new PlainFile(outTastyFile).bufferedOutput)
23
try outstream.write(binary())
24
catch case ex: ClosedByInterruptException =>
25
try
0 commit comments