skennedy
11/21/2017, 10:52 PMfun test(cs: CharSequence?) {
if (cs.isNullOrBlank() {
doSomething()
} else {
doSomethingElse(cs!!)
}
}
the !! is necessary because isNullOrBlank() doesn't propagate back the fact that it's performed a null check (even though it's inlined). is this something that could be handled without modifying the compiler?