[php-src] Issue #7900: `never` return type for arrow functions with throw expressions
| From: | orklah | Date: | Fri, 07 Jan 2022 12:47:06 +0000 |
| Subject: | [php-src] Issue #7900: `never` return type for arrow functions with throw expressions | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-238852@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/7900
Comment Author: orklah
But dropping the implicit return implies that it would need to be added by users, no? Otherwise PHP
would need looking at the return type in signature to decide if the statement value must be returned
or not? It seems icky