Skip to content

Commit

Permalink
Remove the usage of verbose options. Resolves #38 and #45.
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidGregory084 committed Feb 18, 2022
1 parent a9ecfc8 commit d7a6dbd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/main/scala/io/github/davidgregory084/TpolecatPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ object TpolecatPlugin extends AutoPlugin {
val allScalacOptions = List(
ScalacOption("-deprecation", removedIn = Some(V2_13_0)), // Emit warning and location for usages of deprecated APIs. Not really removed but deprecated in 2.13.
ScalacOption("-deprecation", addedIn = Some(V3_0_0)), // Emit warning and location for usages of deprecated APIs.
ScalacOption("-explaintypes", removedIn = Some(V3_0_0)), // Explain type errors in more detail.
ScalacOption("-explain-types", addedIn = Some(V3_0_0)), // Explain type errors in more detail.
ScalacOption("-explain", addedIn = Some(V3_0_0)), // Explain errors in more detail.
ScalacOption("-feature"), // Emit warning and location for usages of features that should be imported explicitly.
ScalacOption("-language:existentials", removedIn = Some(V3_0_0)), // Existential types (besides wildcard types) can be written and inferred
ScalacOption("-language:experimental.macros"), // Allow macro definition (besides implementation and application)
Expand Down Expand Up @@ -112,8 +109,6 @@ object TpolecatPlugin extends AutoPlugin {
ScalacOption("-Ywarn-value-discard", removedIn = Some(V2_13_0)), // Warn when non-Unit expression results are unused.
ScalacOption("-Wvalue-discard", addedIn = Some(V2_13_0), removedIn = Some(V3_0_0)), // ^ Replaces the above
ScalacOption("-Ykind-projector", addedIn = Some(V3_0_0)), // Enables a subset of kind-projector syntax (see https://github.com/lampepfl/dotty/pull/7775)
ScalacOption("-Vimplicits", addedIn = Some(V2_13_6), removedIn = Some(V3_0_0)), // Enables the tek/splain features to make the compiler print implicit resolution chains when no implicit value can be found
ScalacOption("-Vtype-diffs", addedIn = Some(V2_13_6), removedIn = Some(V3_0_0)) // Enables the tek/splain features to turn type error messages (found: X, required: Y) into colored diffs between the two types
)

object autoImport {
Expand Down

0 comments on commit d7a6dbd

Please sign in to comment.