Fix inline classes coercion in 'if' expression

#KT-27132
This commit is contained in:
Dmitry Petrov
2018-09-27 16:29:23 +03:00
parent ab90b2b901
commit 7b7cf39388
7 changed files with 49 additions and 1 deletions
@@ -11859,6 +11859,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/inlineClasses/kt27096_reference.kt");
}
@TestMetadata("kt27132.kt")
public void testKt27132() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/kt27132.kt");
}
@TestMetadata("kt27140.kt")
public void testKt27140() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/kt27140.kt");