diff options
author | Alexandra Dima <alexandra.dima@jetbrains.com> | 2019-07-22 10:44:50 +0200 |
---|---|---|
committer | Samvel Abrahamyan <samvel1024@gmail.com> | 2019-10-12 14:33:07 +0200 |
commit | b5347266ee73d62659d01bdfe2d3444680a98747 (patch) | |
tree | 0e7452f50e574c50c953c7c93fcc359748cb742b /scalalib/src/JavaModule.scala | |
parent | 2e37532d915d54f61bc645faa6b0c73f29c5d9ea (diff) | |
download | mill-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.scala | 2 |
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) ) } |