mirror of https://github.com/sbt/sbt.git
Fixes https://github.com/sbt/sbt/issues/5934 In #5886 adpi2 reported that Test / scalacOptions could have unwanted duplicated flags from Compile / scalacOptions. So #5887 added ```diff + // remove duplicated semanticdbOptions + scalacOptions --= (Compile / semanticdbOptions).value ``` Notice that it's subtracting (Compile / semanticdbOptions).value regardless of the semanticdbEnabled value. If semanticdbEnabled is set to true I am guessing that it would all work out, but when it's false, it's just subtracting "-Yrangepos". This fixes that by checking for semanticdbEnabled. |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||