Failing test removed, a request KT-361 Allocate one LabelResolver per file filed
This commit is contained in:
@@ -1,98 +0,0 @@
|
|||||||
== foo ==
|
|
||||||
fun foo() {
|
|
||||||
if (b)
|
|
||||||
return@a 1
|
|
||||||
}
|
|
||||||
---------------------
|
|
||||||
l6:
|
|
||||||
<START>
|
|
||||||
r(b)
|
|
||||||
jf(l8)
|
|
||||||
r(1)
|
|
||||||
ret(*) l5
|
|
||||||
jmp(l9)
|
|
||||||
l8:
|
|
||||||
read (Unit)
|
|
||||||
l7:
|
|
||||||
l9:
|
|
||||||
<END>
|
|
||||||
error:
|
|
||||||
<ERROR>
|
|
||||||
=====================
|
|
||||||
== anonymous_0 ==
|
|
||||||
{a =>
|
|
||||||
2
|
|
||||||
fun foo() {
|
|
||||||
if (b)
|
|
||||||
return@a 1
|
|
||||||
}
|
|
||||||
|
|
||||||
return@a 5;
|
|
||||||
}
|
|
||||||
---------------------
|
|
||||||
l4:
|
|
||||||
<START>
|
|
||||||
r(2)
|
|
||||||
r(5)
|
|
||||||
ret(*) l5
|
|
||||||
l5:
|
|
||||||
<END>
|
|
||||||
error:
|
|
||||||
<ERROR>
|
|
||||||
=====================
|
|
||||||
== nonlocals1 ==
|
|
||||||
fun nonlocals1(a : Boolean, b : Boolean) : Any? {
|
|
||||||
if (a)
|
|
||||||
return 1
|
|
||||||
1
|
|
||||||
@a{a =>
|
|
||||||
2
|
|
||||||
fun foo() {
|
|
||||||
if (b)
|
|
||||||
return@a 1
|
|
||||||
}
|
|
||||||
|
|
||||||
return@a 5;
|
|
||||||
}
|
|
||||||
|
|
||||||
1.lng
|
|
||||||
|
|
||||||
}
|
|
||||||
---------------------
|
|
||||||
l0:
|
|
||||||
<START>
|
|
||||||
r(a)
|
|
||||||
jf(l2)
|
|
||||||
r(1)
|
|
||||||
ret(*) l1
|
|
||||||
jmp(l3)
|
|
||||||
l2:
|
|
||||||
read (Unit)
|
|
||||||
l3:
|
|
||||||
r(1)
|
|
||||||
rf({a =>
|
|
||||||
2
|
|
||||||
fun foo() {
|
|
||||||
if (b)
|
|
||||||
return@a 1
|
|
||||||
}
|
|
||||||
|
|
||||||
return@a 5;
|
|
||||||
})
|
|
||||||
r(1)
|
|
||||||
r(lng)
|
|
||||||
r(1.lng)
|
|
||||||
l1:
|
|
||||||
<END>
|
|
||||||
error:
|
|
||||||
<ERROR>
|
|
||||||
l4:
|
|
||||||
<START>
|
|
||||||
r(2)
|
|
||||||
r(5)
|
|
||||||
ret(*) l5
|
|
||||||
l5:
|
|
||||||
<END>
|
|
||||||
error:
|
|
||||||
<ERROR>
|
|
||||||
=====================
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
fun nonlocals1(a : Boolean, b : Boolean) : Any? {
|
|
||||||
if (a)
|
|
||||||
return 1
|
|
||||||
1
|
|
||||||
@a{a =>
|
|
||||||
2
|
|
||||||
fun foo() {
|
|
||||||
if (b)
|
|
||||||
return@a 1
|
|
||||||
}
|
|
||||||
|
|
||||||
return@a 5;
|
|
||||||
}
|
|
||||||
|
|
||||||
1.lng
|
|
||||||
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user