summaryrefslogtreecommitdiff
path: root/scalalib/src/JavaModule.scala
diff options
context:
space:
mode:
authorAlexandra Dima <alexandra.dima@jetbrains.com>2019-07-22 10:44:50 +0200
committerSamvel Abrahamyan <samvel1024@gmail.com>2019-10-12 14:33:07 +0200
commitb5347266ee73d62659d01bdfe2d3444680a98747 (patch)
tree0e7452f50e574c50c953c7c93fcc359748cb742b /scalalib/src/JavaModule.scala
parent2e37532d915d54f61bc645faa6b0c73f29c5d9ea (diff)
downloadmill-b5347266ee73d62659d01bdfe2d3444680a98747.tar.gz
mill-b5347266ee73d62659d01bdfe2d3444680a98747.tar.bz2
mill-b5347266ee73d62659d01bdfe2d3444680a98747.zip
Modified the compilation diagnostics reporter to send not only the currently generated diagnostic, but also all of the past diagnostics discovered for a certain source file. This will be compatible with the idea that each set of diagnostics for a certain file invalidates all other diagnostics received in the past.
Diffstat (limited to 'scalalib/src/JavaModule.scala')
-rw-r--r--scalalib/src/JavaModule.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/scalalib/src/JavaModule.scala b/scalalib/src/JavaModule.scala
index 822d7985..5405828f 100644
--- a/scalalib/src/JavaModule.scala
+++ b/scalalib/src/JavaModule.scala
@@ -221,7 +221,7 @@ trait JavaModule extends mill.Module with TaskModule with GenIdeaModule { outer
upstreamCompileOutput(),
allSourceFiles().map(_.path),
compileClasspath().map(_.path),
- javacOptions() ++ T.ctx.bsp.args,
+ javacOptions() ++ T.ctx().bsp.args,
T.ctx().reporter(hashCode)
)
}