Fix OOM error in ReturnUnitMethodTransformer

#KT-22345: Fixed
This commit is contained in:
Ilmir Usmanov
2018-01-17 16:18:33 +03:00
parent 40aa2280a5
commit f4ad5182b8
4 changed files with 114 additions and 21 deletions
@@ -139,6 +139,12 @@ public class BytecodeListingTestGenerated extends AbstractBytecodeListingTest {
doTest(fileName);
}
@TestMetadata("oomInReturnUnit.kt")
public void testOomInReturnUnit() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeListing/oomInReturnUnit.kt");
doTest(fileName);
}
@TestMetadata("samAdapterAndInlinedOne.kt")
public void testSamAdapterAndInlinedOne() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeListing/samAdapterAndInlinedOne.kt");