Created
May 10, 2019 15:58
-
-
Save arkivanov/ded7aa7814acc725aaeb72aab5cc9920 to your computer and use it in GitHub Desktop.
Reaktive variance example 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun foo() { | |
val source: Observable<String> = observableOf("Hello") | |
bar(source) // No error | |
} | |
fun bar(source: Observable<CharSequence>) { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment