'As' function for constants
This commit is contained in:
@@ -990,6 +990,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
|
||||
doTest("compiler/testData/diagnostics/tests/cast/AsErasedWarning.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("constants.kt")
|
||||
public void testConstants() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/cast/constants.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("DowncastMap.kt")
|
||||
public void testDowncastMap() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/cast/DowncastMap.kt");
|
||||
|
||||
@@ -728,6 +728,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
doTest("compiler/testData/codegen/box/casts/as.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("asForConstants.kt")
|
||||
public void testAsForConstants() throws Exception {
|
||||
doTest("compiler/testData/codegen/box/casts/asForConstants.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("asSafe.kt")
|
||||
public void testAsSafe() throws Exception {
|
||||
doTest("compiler/testData/codegen/box/casts/asSafe.kt");
|
||||
@@ -738,6 +743,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
doTest("compiler/testData/codegen/box/casts/asSafeFail.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("asSafeForConstants.kt")
|
||||
public void testAsSafeForConstants() throws Exception {
|
||||
doTest("compiler/testData/codegen/box/casts/asSafeForConstants.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("castGenericNull.kt")
|
||||
public void testCastGenericNull() throws Exception {
|
||||
doTest("compiler/testData/codegen/box/casts/castGenericNull.kt");
|
||||
|
||||
Reference in New Issue
Block a user