Skip to content

Conversation

@dktapps
Copy link
Contributor

@dktapps dktapps commented Sep 3, 2020

they might be intersection type, union type, or something else.
I don't think there's a way to test this without #315.

they might be intersection type. I don't think there's a way to test this without #315.
@ondrejmirtes
Copy link
Member

There's no actual difference because you can't write any union or intersection type of arrays as native closure return type...

But otherwise yeah, I changed most instances of instanceof ArrayType to ->isArray().

@dktapps
Copy link
Contributor Author

dktapps commented Sep 3, 2020

@ondrejmirtes I noticed it in a CI failure on #315 so I thought it made sense to change it. For future proofing.

@ondrejmirtes
Copy link
Member

Which CI failure do you think is related to that?

@dktapps
Copy link
Contributor Author

dktapps commented Sep 3, 2020

Image for posterity since the link seems to be flaky:
image

@ondrejmirtes ondrejmirtes force-pushed the master branch 2 times, most recently from f54fd5f to eca550a Compare October 28, 2020 19:41
@ondrejmirtes ondrejmirtes force-pushed the master branch 3 times, most recently from d45166a to 3526237 Compare December 12, 2020 10:56
@dktapps dktapps closed this Jan 20, 2021
@dktapps dktapps deleted the is-array branch January 20, 2021 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants