File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
compiler/src/dotty/tools/dotc/semanticdb Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -27,11 +27,8 @@ import typer.ImportInfo.withRootImports
2727
2828import dotty .tools .dotc .{semanticdb => s }
2929import dotty .tools .io .{AbstractFile , JarArchive }
30- import dotty .tools .dotc .util .Property
3130import dotty .tools .dotc .semanticdb .DiagnosticOps .*
3231import scala .util .{Using , Failure , Success }
33- import java .io .ByteArrayOutputStream
34- import java .io .BufferedOutputStream
3532
3633
3734/** Extract symbol references and uses to semanticdb files.
@@ -83,7 +80,7 @@ class ExtractSemanticDB private (phaseMode: ExtractSemanticDB.PhaseMode) extends
8380 (outputDir, source)
8481 }.asJava.parallelStream().forEach { case (out, source) =>
8582 warnings.get(source).foreach { ws =>
86- ExtractSemanticDB .appendDiagnostics(source, ws, out)
83+ ExtractSemanticDB .appendDiagnostics(ws, out)
8784 }
8885 }
8986 else
@@ -168,7 +165,6 @@ object ExtractSemanticDB:
168165 end write
169166
170167 private def appendDiagnostics (
171- source : SourceFile ,
172168 diagnostics : Seq [Diagnostic ],
173169 outpath : Path
174170 ): Unit =
You can’t perform that action at this time.
0 commit comments