Added ifThenToElvisIntention

This commit is contained in:
Zack Grannan
2014-03-02 17:43:17 -08:00
committed by Zalim Bashorov
parent 673369affe
commit 1ca4bb0e79
45 changed files with 484 additions and 0 deletions
@@ -0,0 +1,9 @@
fun maybeFoo(): String? {
return "foo"
}
val x = maybeFoo()
fun main(args: Array<String>) {
x ?: "abc"
}