rfc:dnf_types

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
rfc:dnf_types [2022/06/17 15:59] – typo girgiasrfc:dnf_types [2023/01/21 22:12] (current) – Typo in code example, brakets are not allowed for standalone intersection types girgias
Line 3: Line 3:
   * Date: 2021-11-04   * Date: 2021-11-04
   * Author: George Peter Banyard <girgias@php.net>; Larry Garfield <crell@php.net>   * Author: George Peter Banyard <girgias@php.net>; Larry Garfield <crell@php.net>
-  * Status: Voting+  * Status: Accepted
   * First Published at: http://wiki.php.net/rfc/dnf_types   * First Published at: http://wiki.php.net/rfc/dnf_types
  
Line 83: Line 83:
 // Acceptable.  A&B is more restrictive. // Acceptable.  A&B is more restrictive.
 class TestOne implements ITest { class TestOne implements ITest {
-  public function stuff(): (A&B{}+  public function stuff(): A&B {}
 } }
  
Line 188: Line 188:
 8.2 8.2
  
-===== Proposed Voting Choices =====+===== Vote =====
  
 As per the voting RFC a yes/no vote with a 2/3 majority is needed for this proposal to be accepted. As per the voting RFC a yes/no vote with a 2/3 majority is needed for this proposal to be accepted.
  
 Voting started on 2022-06-17 and will end on 2022-07-01. Voting started on 2022-06-17 and will end on 2022-07-01.
-<doodle title="Accept Disjunctive Normal Form Types RFC?" auth="girgias" voteType="single" closed="false">+<doodle title="Accept Disjunctive Normal Form Types RFC?" auth="girgias" voteType="single" closed="true">
    * Yes    * Yes
    * No    * No
rfc/dnf_types.1655481591.txt.gz · Last modified: 2022/06/17 15:59 by girgias