Skip to content

Commit d5f1695

Browse files
committed
Update some helps
1 parent 20ab4aa commit d5f1695

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
@@ -49,7 +49,7 @@ object Feature:
4949
(nme.dynamics, "Allow direct or indirect subclasses of scala.Dynamic"),
5050
(nme.unsafeNulls, "Enable unsafe nulls for explicit nulls"),
5151
(nme.postfixOps, "Allow postfix operator notation"),
52-
(nme.strictEquality, "Enable strict equality (=== and !==)"),
52+
(nme.strictEquality, "Enable strict equality (disable canEqualAny)"),
5353
(nme.implicitConversions, "Allow implicit conversions without warnings"),
5454
(nme.adhocExtensions, "Allow ad-hoc extension methods"),
5555
(namedTypeArguments, "Allow named type arguments"),
@@ -58,10 +58,10 @@ object Feature:
5858
(dependent, "Allow dependent method types"),
5959
(erasedDefinitions, "Allow erased definitions"),
6060
(symbolLiterals, "Allow symbol literals"),
61-
(fewerBraces, "Allow fewer braces"),
61+
(fewerBraces, "Enable support for using indentation for arguments"),
6262
(saferExceptions, "Enable safer exceptions"),
6363
(clauseInterleaving, "Enable clause interleaving"),
64-
(pureFunctions, "Enable pure functions"),
64+
(pureFunctions, "Enable pure functions for capture checking"),
6565
(captureChecking, "Enable experimental capture checking"),
6666
(into, "Allow into clauses in pattern matches")
6767
)

0 commit comments

Comments
 (0)