Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

Support arrays of union types, e.g. list:(string | any[])[] #244

Open
tbosch opened this issue Jul 14, 2015 · 1 comment
Open

Support arrays of union types, e.g. list:(string | any[])[] #244

tbosch opened this issue Jul 14, 2015 · 1 comment

Comments

@tbosch
Copy link

tbosch commented Jul 14, 2015

No description provided.

@mprobst
Copy link
Contributor

mprobst commented Jul 14, 2015

In what way does that not work today? AFAIK it should emit something like List<dynamic /* string | any[] */>.

But please note that that doesn't give you a specific static type in Dart (it just ends up as dynamic), so it would likely be better for users to have a proper named type there.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants