Add an implicit cast to Unit in returns from a constructor.
This commit is contained in:
committed by
Dmitry Petrov
parent
826f55ecb4
commit
59c5d8bdb8
@@ -907,6 +907,11 @@ public class IrTextTestCaseGenerated extends AbstractIrTextTestCase {
|
||||
runTest("compiler/testData/ir/irText/expressions/ifElseIf.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("implicitCastInReturnFromConstructor.kt")
|
||||
public void testImplicitCastInReturnFromConstructor() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/expressions/implicitCastInReturnFromConstructor.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("implicitCastOnPlatformType.kt")
|
||||
public void testImplicitCastOnPlatformType() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/expressions/implicitCastOnPlatformType.kt");
|
||||
|
||||
Reference in New Issue
Block a user