Skip to content

Commit db825ca

Browse files
committed
Update some helps
1 parent da00b3d commit db825ca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler/src/dotty/tools/dotc/config/Feature.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ object Feature:
4646
(nme.dynamics, "Allow direct or indirect subclasses of scala.Dynamic"),
4747
(nme.unsafeNulls, "Enable unsafe nulls for explicit nulls"),
4848
(nme.postfixOps, "Allow postfix operator notation"),
49-
(nme.strictEquality, "Enable strict equality (=== and !==)"),
49+
(nme.strictEquality, "Enable strict equality (disable canEqualAny)"),
5050
(nme.implicitConversions, "Allow implicit conversions without warnings"),
5151
(nme.adhocExtensions, "Allow ad-hoc extension methods"),
5252
(namedTypeArguments, "Allow named type arguments"),
@@ -55,10 +55,10 @@ object Feature:
5555
(dependent, "Allow dependent method types"),
5656
(erasedDefinitions, "Allow erased definitions"),
5757
(symbolLiterals, "Allow symbol literals"),
58-
(fewerBraces, "Allow fewer braces"),
58+
(fewerBraces, "Enable support for using indentation for arguments"),
5959
(saferExceptions, "Enable safer exceptions"),
6060
(clauseInterleaving, "Enable clause interleaving"),
61-
(pureFunctions, "Enable pure functions"),
61+
(pureFunctions, "Enable pure functions for capture checking"),
6262
(captureChecking, "Enable experimental capture checking"),
6363
(into, "Allow into clauses in pattern matches")
6464
)

0 commit comments

Comments
 (0)