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
27
27
28
28
import dotty .tools .dotc .{semanticdb => s }
29
29
import dotty .tools .io .{AbstractFile , JarArchive }
30
- import dotty .tools .dotc .util .Property
31
30
import dotty .tools .dotc .semanticdb .DiagnosticOps .*
32
31
import scala .util .{Using , Failure , Success }
33
- import java .io .ByteArrayOutputStream
34
- import java .io .BufferedOutputStream
35
32
36
33
37
34
/** Extract symbol references and uses to semanticdb files.
@@ -83,7 +80,7 @@ class ExtractSemanticDB private (phaseMode: ExtractSemanticDB.PhaseMode) extends
83
80
(outputDir, source)
84
81
}.asJava.parallelStream().forEach { case (out, source) =>
85
82
warnings.get(source).foreach { ws =>
86
- ExtractSemanticDB .appendDiagnostics(source, ws, out)
83
+ ExtractSemanticDB .appendDiagnostics(ws, out)
87
84
}
88
85
}
89
86
else
@@ -168,7 +165,6 @@ object ExtractSemanticDB:
168
165
end write
169
166
170
167
private def appendDiagnostics (
171
- source : SourceFile ,
172
168
diagnostics : Seq [Diagnostic ],
173
169
outpath : Path
174
170
): Unit =
You can’t perform that action at this time.
0 commit comments