Extraction Engine: Fix extraction of labeled and non-local returns

This commit is contained in:
Alexey Sedunov
2015-03-23 15:58:30 +03:00
parent 3bea49eedd
commit a90d020859
17 changed files with 258 additions and 93 deletions
@@ -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
}
@@ -0,0 +1 @@
Selected code fragment has multiple exit points