Support unboxing of inline classes in elvis

This commit is contained in:
Mikhail Zarechenskiy
2018-02-07 06:11:15 +03:00
parent fefcddc803
commit 396cc7d02b
8 changed files with 74 additions and 3 deletions
@@ -1962,6 +1962,12 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
doTest(fileName);
}
@TestMetadata("unboxInlineClassAfterElvis.kt")
public void testUnboxInlineClassAfterElvis() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeText/inlineClasses/unboxInlineClassAfterElvis.kt");
doTest(fileName);
}
@TestMetadata("unboxInlineClassAfterSafeCall.kt")
public void testUnboxInlineClassAfterSafeCall() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeText/inlineClasses/unboxInlineClassAfterSafeCall.kt");