8c8ed3a1ee
#KT-1388 Fixed
8 lines
203 B
Plaintext
8 lines
203 B
Plaintext
//KT-1156 Throwing exception on the right side of elvis operator marks code unreachable
|
|
|
|
|
|
fun foo(maybe: Int?) {
|
|
val i : Int = maybe ?: throw RuntimeException("No value")
|
|
System.out.println(i)
|
|
}
|