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 d4bb969 commit 72ca652Copy full SHA for 72ca652
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.map(new TASTYCompilationUnit(_))
+ val units = classNames.distinct.map(new TASTYCompilationUnit(_))
10
compileUnits(units)
11
}
12
0 commit comments