From bf68732f64e77ad81980b867bcc341c1c0789b52 Mon Sep 17 00:00:00 2001 From: Ben Christensen Date: Mon, 11 Aug 2014 16:35:49 -0700 Subject: [PATCH] Fixing Kotlin Defer Broke this with https://github.com/Netflix/RxJava/pull/1561 --- .../rxjava-kotlin/src/main/kotlin/rx/lang/kotlin/namespace.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/language-adaptors/rxjava-kotlin/src/main/kotlin/rx/lang/kotlin/namespace.kt b/language-adaptors/rxjava-kotlin/src/main/kotlin/rx/lang/kotlin/namespace.kt index 006f97e48a..26f158ea92 100644 --- a/language-adaptors/rxjava-kotlin/src/main/kotlin/rx/lang/kotlin/namespace.kt +++ b/language-adaptors/rxjava-kotlin/src/main/kotlin/rx/lang/kotlin/namespace.kt @@ -40,7 +40,7 @@ public fun Function1, Subscription>.asObservableFunc(): Observ })!! } -public fun Function0>.defer(): Observable { +public fun Function0>.defer(): Observable { return Observable.defer(this)!! }