https://kotlinlang.org logo
#language-proposals
Title
# language-proposals
m

mathiasbn

09/13/2016, 6:49 AM
@thijs Can't you do this:
Copy code
class Foo {
    var bar: String? = //...
    var foo: String? = //...

    fun someMethod() {
        if (bar != null && foo != null) {
            // bar and foo are now non-optional
        }
    }
}