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

Possible implementation for ArrayReduceReturnTypeProvider support array callables with self and static #6019

Merged
merged 1 commit into from
Jun 29, 2021

Conversation

elnoro
Copy link
Contributor

@elnoro elnoro commented Jun 29, 2021

Hello!

This should fix #6005

I am not sure why self and static were skipped when handling callables in ArrayReduceReturnTypeProvider, so hopefully this won't break anything - I added a test for it just in case.

@elnoro elnoro force-pushed the array-reduce-static branch from 3b60e3a to 770075b Compare June 29, 2021 17:26
@elnoro elnoro force-pushed the array-reduce-static branch from 770075b to 79b61c3 Compare June 29, 2021 17:27
@weirdan weirdan merged commit c06f1cd into vimeo:master Jun 29, 2021
@weirdan
Copy link
Collaborator

weirdan commented Jun 29, 2021

Thanks!

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.

Fails to infer return type for method using static callable
2 participants