Skip to content

Commit

Permalink
Merge pull request #1565 from benjchristensen/kotlin-defer
Browse files Browse the repository at this point in the history
Fixing Kotlin Defer
  • Loading branch information
benjchristensen committed Aug 12, 2014
2 parents 4e4b0cb + bf68732 commit 805ddb3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public fun<T> Function1<Observer<in T>, Subscription>.asObservableFunc(): Observ
})!!
}

public fun<T> Function0<Observable<out T>>.defer(): Observable<T> {
public fun<T> Function0<Observable<T>>.defer(): Observable<T> {
return Observable.defer(this)!!
}

Expand Down

0 comments on commit 805ddb3

Please sign in to comment.