Skip to content

Commit

Permalink
Merge pull request #112 from joan38/strict-equality
Browse files Browse the repository at this point in the history
Add -language:strictEquality compiler flag
  • Loading branch information
satorg authored Apr 19, 2024
2 parents b451381 + 5c842b8 commit 8e0fe0f
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,11 @@ private[scalacoptions] trait ScalacOptions {
val languageImplicitConversions =
languageFeatureOption("implicitConversions")

/** Enables Multiversal Equality as opposed to Universal Equality.
*/
val languageStrictEquality =
languageFeatureOption("strictEquality", version => version >= V3_0_0)

/** Preferred language feature options.
*/
val languageFeatureOptions: Set[ScalacOption] = ListSet(
Expand Down

0 comments on commit 8e0fe0f

Please sign in to comment.