disable +JDK macro in JetDiagnosticsTest and fix (actually hide) revealed bugs
+JDK was not very helpful
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
//KT-1156 Throwing exception on the right side of elvis operator marks code unreachable
|
||||
|
||||
//+JDK
|
||||
|
||||
fun foo(maybe: Int?) {
|
||||
val i : Int = maybe ?: throw RuntimeException("No value")
|
||||
|
||||
Reference in New Issue
Block a user