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

Remove generic type declaration for Completable bindings. #248

Merged
merged 1 commit into from
Nov 6, 2017

Conversation

ReneeVandervelde
Copy link
Contributor

Remove the unecessary generic type from the kotlin extensions for binding to Completable chains. The type declared in the signature is not being used in the function, and doesn't make sense on a Completable, so this looks like a copy/paste error.

This fixes the following error, when not specifying a type:

Type inference failed: Not enough information to infer parameter T in fun <T> Completable.bindUntilEvent(owner: LifecycleOwner, event: Lifecycle.Event): Completable

Remove the unecessary generic type <T> from the kotlin extensions for
binding to Completable chains. The type declared in the signature is not
being used in the function, and doesn't make sense on a Completable, so
this looks like a copy/paste error.
This fixes the following error, when not specifying a type:

    Type inference failed: Not enough information to infer parameter T in fun <T> Completable.bindUntilEvent(owner: LifecycleOwner, event: Lifecycle.Event): Completable
@dlew dlew merged commit 9a1e2fb into trello-archive:2.x Nov 6, 2017
@dlew
Copy link
Contributor

dlew commented Nov 6, 2017

Awesome, 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.

2 participants