Skip to content

Commit de47366

Browse files
authored
Removed sentence about e! being constant (#4226)
1 parent 51c0835 commit de47366

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

working/3616 - enum value shorthand/proposal-simple-lrhn.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -433,10 +433,7 @@ a constant function.
433433

434434
_The only `.id` selector which can come after a constant expression
435435
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._
436+
make that integer satisfy a context type of `String`._
440437

441438
A static member shorthand expression should be a _potentially constant_
442439
expression if the corresponding explicit static member plus

0 commit comments

Comments
 (0)