We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
e!
1 parent 51c0835 commit de47366Copy full SHA for de47366
working/3616 - enum value shorthand/proposal-simple-lrhn.md
@@ -433,10 +433,7 @@ a constant function.
433
434
_The only `.id` selector which can come after a constant expression
435
and still be constant is `String.length`, and it's very hard to
436
-make that integer satisfy a context type of `String`. The only other
437
-selector which can follow a complete constant expression and still be
438
-constant is the not-null check `!`, which is rarely useful in
439
-constant expressions._
+make that integer satisfy a context type of `String`._
440
441
A static member shorthand expression should be a _potentially constant_
442
expression if the corresponding explicit static member plus
0 commit comments