[php-src] Issue #8344: Attribute parameters cannot contain BackedEnum values
| From: | michnovka | Date: | Tue, 12 Apr 2022 11:22:20 +0000 |
| Subject: | [php-src] Issue #8344: Attribute parameters cannot contain BackedEnum values | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-240869@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8344
Comment Author: michnovka
Even if it were just for enums, the
Enum::CASE->value is also always a constant, so
we are not allowing some non-constant expressions this way. Is there any other place where
-> could be used in constant expressions? I don think so