Skip to content

Commit

Permalink
Fixing Kotlin Defer
Browse files Browse the repository at this point in the history
Broke this with #1561
  • Loading branch information
benjchristensen committed Aug 11, 2014
1 parent 4e4b0cb commit bf68732
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 bf68732

Please sign in to comment.