Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type on union idlType #135

Merged
merged 1 commit into from
Jan 30, 2018
Merged

Type on union idlType #135

merged 1 commit into from
Jan 30, 2018

Conversation

saschanaz
Copy link
Member

@saschanaz saschanaz commented Jan 30, 2018

I think this will better fit for #93, as otherwise we have to go one level deeper to get the type of a union type. What do you think?

@marcoscaceres
Copy link
Member

I guess this can work, worst case, when I hit a null, I just walk up one level to figure out what it is.

@saschanaz
Copy link
Member Author

saschanaz commented Jan 30, 2018

Do you have a use case for detecting types of each child idlType in a union type?

@marcoscaceres
Copy link
Member

Probably not, as they are styled and linked to definitions either in the spec, or to another spec (and I know that the context is "this is an IDL Type of some sort, not a concept"). However, I'll have a play with what we have thus far and can let you know soon.

@saschanaz
Copy link
Member Author

Thanks! We'll see what happens.

@saschanaz saschanaz merged commit f422f2a into develop Jan 30, 2018
@saschanaz saschanaz deleted the type-on-union branch January 30, 2018 03:22
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.

None yet

2 participants