Skip to content

Commit

Permalink
Use semanticdb files directly in ScalaModule
Browse files Browse the repository at this point in the history
A copy mechanism was introduced in #2227
because of a bug in semanticdb-java
But we don't need to use it in ScalaModule as well
if the Scala semanticdb works correctly.
  • Loading branch information
lolgab committed Mar 11, 2024
1 parent ebd95e1 commit 2b41c5c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scalalib/src/mill/scalalib/ScalaModule.scala
Original file line number Diff line number Diff line change
Expand Up @@ -667,8 +667,6 @@ trait ScalaModule extends JavaModule with TestModule.ScalaModuleBase { outer =>
reportCachedProblems = zincReportCachedProblems(),
incrementalCompilation = zincIncrementalCompilation()
)
.map(r =>
SemanticDbJavaModule.copySemanticdbFiles(r.classes.path, T.workspace, T.dest / "data")
)
.map(_.classes)
}
}

0 comments on commit 2b41c5c

Please # to comment.