You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And is there a cleaner way of solving such an issue if I want to pass B as an array to a function that takes A as an array without casting to any first?
According to the Subtypes page in Flow documentation about Subtypes, that works fine:
but why when we put the types in a list it loses the property of being a subtype?
And is there a cleaner way of solving such an issue if I want to pass
B
as an array to a function that takesA
as an array without casting toany
first?https://flow.org/try/#0C4TwDgpgBAglC8UDeBqAlgEwFxQHYFcBbAIwgCcBfAbQF0AoUSKAIQWXWzyNLIBooUwCAA9gOAM7AyaXAHNq9OgGMA9rklRiUHK0RUkmHAEZ+Q0TgBEACwgAbWyosV6q9cCgBDbbDbE6QA
The text was updated successfully, but these errors were encountered: