Re: [RFC] Pure intersection types
On Mon, 31 May 2021 at 16:09, G. P. B. <george.banyard@gmail.com> wrote:
> Hello,
>
> It has been two weeks since my last email and the only thing which has
> come up are the tokenizer changes pointed out by Tyson.
> To preserve BC I've aliased T_AMPERSAND with
> T_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG
> This is also reflected in the RFC:
> https://wiki.php.net/rfc/pure-intersection-types
>
> I plan on opening voting on Wednesday.
>
As it turned out I misunderstood Tyson, and I was asked to clarify the RFC
there has been some changes to it again:
- Addition of a "Motivation" section, which explains why Intersection are
needed and superior to Interfaces extending multiple Interfaces
- Expand why standard types are not supported, this includes
self/static/parent
- Split the variance rules into 2 bullet points
- Remove the T_AMPERSAND
As such I'm postponing the start of the voting to tomorrow.
Best Regards,
George P. Banyard
Thread (13 messages)