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
rfc:dnf_types [2022/07/03 02:17] – Close vote girgiasrfc:dnf_types [2023/01/21 22:12] (current) – Typo in code example, brakets are not allowed for standalone intersection types girgias
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 {}
 } }
  
rfc/dnf_types.txt · Last modified: 2023/01/21 22:12 by girgias