Skip to content

Adds support for union types#68

Merged
patrickt merged 2 commits intotree-sitter:masterfrom
cfroystad:union_types_v2
Apr 19, 2021
Merged

Adds support for union types#68
patrickt merged 2 commits intotree-sitter:masterfrom
cfroystad:union_types_v2

Conversation

@cfroystad
Copy link
Collaborator

rfc

Since we already have a concept of type_list, I reused this node instad of exposing the union type. Feel free to voice any disagreements on this 🙂

@cfroystad cfroystad mentioned this pull request Apr 17, 2021
32 tasks
@patrickt
Copy link

patrickt commented Apr 19, 2021

Looks good to me, but are there any tests that exercise this path specifically? (Sorry, I don't know PHP, so I might be missing something.)

@cfroystad
Copy link
Collaborator Author

Good catch! For some mysterious reason I forgot to commit it, but it's added now

@patrickt patrickt merged commit 4dcc061 into tree-sitter:master Apr 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants