flaky-photographer-75744
02/08/2019, 4:56 PMscalafix
with pants. When using scalafix
rule: RemoveUnused
, the following error occurs:
==== stdout ====
error: The Scala compiler option "-Ywarn-unused" is required to use RemoveUnused.
To fix this problem, update your build to use at least one Scala compiler
option that starts with "-Ywarn-unused"
However in pants.ini
, we have set up correctly the following `zinc arguments`:
...
'-S-Ywarn-unused:implicits',
'-S-Ywarn-unused:imports',
'-S-Ywarn-unused:locals',
'-S-Ywarn-unused:params',
'-S-Ywarn-unused:patvars',
'-S-Ywarn-unused:privates',
...
Is this a known issue or are we forgetting something ?aloof-angle-91616
02/08/2019, 5:28 PMpants.ini
specifically?flaky-photographer-75744
02/11/2019, 10:50 AM