diff --git a/compiler/src/dotty/tools/dotc/sbt/ExtractDependencies.scala b/compiler/src/dotty/tools/dotc/sbt/ExtractDependencies.scala index fc7099c1a19a..e02d10be8f3a 100644 --- a/compiler/src/dotty/tools/dotc/sbt/ExtractDependencies.scala +++ b/compiler/src/dotty/tools/dotc/sbt/ExtractDependencies.scala @@ -116,7 +116,7 @@ object ExtractDependencies { case Some(src) => src.toString.endsWith(".java") case None => false def classNameAsString0(sym: Symbol)(using Context): String = - sym.fullName.stripModuleClassSuffix.toString + sym.fullName.stripModuleClassSuffix.toString def javaClassNameAsString(sym: Symbol)(using Context): String = if sym.owner.isClass && !sym.owner.isRoot then javaClassNameAsString(sym.owner) + "." + sym.name.stripModuleClassSuffix.toString