(int|string)[]
is unextractable
#2008
Labels
enhancement
This improves the quality of Phan's analysis of a codebase
(int|string)[]
is unextractable
#2008
The README states:
However, when I run Phan (master) on the following...
... it tells me the annotation is no good:
I think there are two good reasons to support
(int|string)[]
:array<int|string>
is supportedIf this issue is fixed, I also suggest changing the BNF on About Union Types to show that
ARRAY_TYPE
is allowed to contain aUNION_TYPE
wrapped in parentheses.The text was updated successfully, but these errors were encountered: