if a shared variable is a result of the block, release it only after it has been put
#KT-2151 Fixed
This commit is contained in:
@@ -62,4 +62,8 @@ public class ClosuresGenTest extends CodegenTestCase {
|
||||
public void testEnclosingThis() throws Exception {
|
||||
blackBoxFile("classes/enclosingThis.jet");
|
||||
}
|
||||
|
||||
public void testKt2151() {
|
||||
blackBoxFile("regressions/kt2151.kt");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user