Implemented missed checks for local functions #KT-10449 Fixed
Relevant code/test fixes
This commit is contained in:
Vendored
+1
-1
@@ -1,7 +1,7 @@
|
||||
fun box(): String {
|
||||
val obj = "" as java.lang.Object
|
||||
val e = IllegalArgumentException()
|
||||
fun m() = throw e
|
||||
fun m(): Nothing = throw e
|
||||
try {
|
||||
synchronized (m()) {
|
||||
throw AssertionError("Should not have reached this point")
|
||||
|
||||
Reference in New Issue
Block a user