From de473666bf38254d705893335a498528214ca21d Mon Sep 17 00:00:00 2001 From: Erik Ernst Date: Wed, 8 Jan 2025 17:09:12 +0100 Subject: [PATCH] Removed sentence about `e!` being constant (#4226) --- working/3616 - enum value shorthand/proposal-simple-lrhn.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/working/3616 - enum value shorthand/proposal-simple-lrhn.md b/working/3616 - enum value shorthand/proposal-simple-lrhn.md index f5c34bb40..a19e7449c 100644 --- a/working/3616 - enum value shorthand/proposal-simple-lrhn.md +++ b/working/3616 - enum value shorthand/proposal-simple-lrhn.md @@ -433,10 +433,7 @@ a constant function. _The only `.id` selector which can come after a constant expression and still be constant is `String.length`, and it's very hard to -make that integer satisfy a context type of `String`. The only other -selector which can follow a complete constant expression and still be -constant is the not-null check `!`, which is rarely useful in -constant expressions._ +make that integer satisfy a context type of `String`._ A static member shorthand expression should be a _potentially constant_ expression if the corresponding explicit static member plus