Skip to content

Commit

Permalink
Disable -Wself-implicit due to false positives
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidGregory084 authored Nov 27, 2019
1 parent cb8899a commit 9103e8d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ object TpolecatPlugin extends AutoPlugin {
ScalacOption("-Ywarn-nullary-unit", removedIn = Some(13)), // Warn when nullary methods return Unit.
ScalacOption("-Ywarn-numeric-widen", removedIn = Some(13)), // Warn when numerics are widened.
ScalacOption("-Wnumeric-widen", addedIn = Some(13)), // ^ Replaces the above
ScalacOption("-Wself-implicit", addedIn = Some(13)), // Warn when an implicit resolves to an enclosing self-definition
// Disabled due to false positives; see https://github.com/scala/bug/issues/11813
// ScalacOption("-Wself-implicit", addedIn = Some(13)), // Warn when an implicit resolves to an enclosing self-definition
ScalacOption("-Ywarn-unused-import", addedIn = Some(11), removedIn = Some(12)), // Warn if an import selector is not referenced.
ScalacOption("-Ywarn-unused:implicits", addedIn = Some(12), removedIn = Some(13)), // Warn if an implicit parameter is unused.
ScalacOption("-Wunused:implicits", addedIn = Some(13)), // ^ Replaces the above
Expand Down

0 comments on commit 9103e8d

Please sign in to comment.