Extraction Engine: Fix extraction of labeled and non-local returns
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
// WITH_RUNTIME
|
||||
fun foo(a: Int): Int {
|
||||
a.let {
|
||||
<selection>if (it > 0) return@let it else return@foo -it</selection>
|
||||
}
|
||||
return 0
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
Selected code fragment has multiple exit points
|
||||
Reference in New Issue
Block a user