Re: Previous discussions about generics syntax only?
| From: | Alex Wells | Date: | Mon, 16 Oct 2023 14:49:18 +0000 |
| Subject: | Re: Previous discussions about generics syntax only? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-121338@lists.php.net to get a copy of this message | ||
On Mon, Oct 16, 2023 at 5:08 PM Olle Härstedt <olleharstedt@gmail.com>
wrote:
> Hello internals,
>
> Was there a previous discussion about the pros/cons of adding only the
> syntax needed for generics, but not the functionality? So static
> analyzers could use it, instead of docblocks. I looked at externals.io
> but couldn't find anything specific.
>
Hey. There was a somewhat recent discussion on GH, but without experimental
features system, it's unlikely it would pass:
https://github.com/PHPGenerics/php-generics-rfc/issues/49