Add support for Union types, including completion - #405
Conversation
This reverts commit 293823c.
Imports and exports union type information from condense json files.
|
I am not convinced this is the right direction. We already have sets of types modeled as I'd be okay with extending the parser to recognize the |
|
Thank you for your explanations, I am revising my code and investigating how I could use |
|
Did this go anywhere in the end? |
|
I realized I need to get funding to spend anymore time on this. |
NOTE: these modifications should be reviewed in the context of google/tern-closure#34
Some Union type functionality requires tern-closure to be tested, (that's why some of the new tests reside in tern-closure) as the doctrine parser is required to parse union types from annotations.