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/07 13:02] – Update patch link 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: Under Discussion+  * Status: Accepted
   * First Published at: http://wiki.php.net/rfc/dnf_types   * First Published at: http://wiki.php.net/rfc/dnf_types
  
Line 63: Line 63:
  
 <code> <code>
-(A&B)|(C&D|(Y&D)|null+(A&B)|(C&D)|(Y&D)|null
 (B&A)|null|(D&Y)|(C&D) (B&A)|null|(D&Y)|(C&D)
 null|(C&D)|(B&A)|(Y&D) null|(C&D)|(B&A)|(Y&D)
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
  
-===== Open Issues =====+===== Vote =====
  
-Make sure there are no open issues when the vote starts!+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. 
 +<doodle title="Accept Disjunctive Normal Form Types RFC?" auth="girgias" voteType="single" closed="true"> 
 +   * Yes 
 +   * No 
 +</doodle>
  
 ===== Future Scope ===== ===== Future Scope =====
rfc/dnf_types.1654606925.txt.gz · Last modified: 2022/06/07 13:02 by girgias