TypeResolver icon indicating copy to clipboard operation
TypeResolver copied to clipboard

Cannot combine Types\Intersection and Types\Compound

Open zobo opened this issue 2 years ago • 0 comments

When building DNF types function foo ((A&B)|C $x): (A&B)|C|(D&E) {} it's not possible to build it with Intersection and Compound.

https://github.com/phpDocumentor/TypeResolver/blob/06f36c92b434ac686de06b6563e88046943bccbe/src/Types/AggregatedType.php#L109

zobo avatar Feb 20 '23 21:02 zobo