Make Ref classes for shared vars Serializable

#KT-14566 Fixed
This commit is contained in:
Alexander Udalov
2017-02-09 20:34:04 +03:00
parent c10524586a
commit 8e3cb912c7
8 changed files with 91 additions and 27 deletions
@@ -3617,6 +3617,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest(fileName);
}
@TestMetadata("refsAreSerializable.kt")
public void testRefsAreSerializable() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/closures/refsAreSerializable.kt");
doTest(fileName);
}
@TestMetadata("simplestClosure.kt")
public void testSimplestClosure() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/closures/simplestClosure.kt");