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 72ca652 commit 183985cCopy full SHA for 183985c
compiler/src/dotty/tools/dotc/Driver.scala
@@ -26,7 +26,7 @@ class Driver extends DotClass {
26
if (fileNames.nonEmpty)
27
try {
28
val run = compiler.newRun
29
- run.compile(fileNames)
+ run.compile(fileNames.distinct)
30
run.printSummary()
31
}
32
catch {
compiler/src/dotty/tools/dotc/fromtasty/TASTYRun.scala
@@ -6,7 +6,7 @@ import core.Contexts._
6
7
class TASTYRun(comp: Compiler, ictx: Context) extends Run(comp, ictx) {
8
override def compile(classNames: List[String]) = {
9
- val units = classNames.distinct.map(new TASTYCompilationUnit(_))
+ val units = classNames.map(new TASTYCompilationUnit(_))
10
compileUnits(units)
11
12
0 commit comments