Allow use reference to reified type parameters in contracts since 1.4
This commit is contained in:
+5
@@ -1386,6 +1386,11 @@ public class DiagnosticsTestWithStdLibGenerated extends AbstractDiagnosticsTestW
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/contracts/smartcasts/receiver.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("reifiedGeneric.kt")
|
||||
public void testReifiedGeneric() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/contracts/smartcasts/reifiedGeneric.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("safecallAndReturnsNull.kt")
|
||||
public void testSafecallAndReturnsNull() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/contracts/smartcasts/safecallAndReturnsNull.kt");
|
||||
|
||||
compiler/tests/org/jetbrains/kotlin/checkers/javac/DiagnosticsTestWithStdLibUsingJavacGenerated.java
Generated
+5
@@ -1386,6 +1386,11 @@ public class DiagnosticsTestWithStdLibUsingJavacGenerated extends AbstractDiagno
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/contracts/smartcasts/receiver.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("reifiedGeneric.kt")
|
||||
public void testReifiedGeneric() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/contracts/smartcasts/reifiedGeneric.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("safecallAndReturnsNull.kt")
|
||||
public void testSafecallAndReturnsNull() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/contracts/smartcasts/safecallAndReturnsNull.kt");
|
||||
|
||||
@@ -4650,6 +4650,11 @@ public class LoadJavaTestGenerated extends AbstractLoadJavaTest {
|
||||
runTest("compiler/testData/loadJava/compiledKotlinWithStdlib/contracts/callsEffect.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("contractWithRefiedGeneric.kt")
|
||||
public void testContractWithRefiedGeneric() throws Exception {
|
||||
runTest("compiler/testData/loadJava/compiledKotlinWithStdlib/contracts/contractWithRefiedGeneric.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("contractsOnMembers.kt")
|
||||
public void testContractsOnMembers() throws Exception {
|
||||
runTest("compiler/testData/loadJava/compiledKotlinWithStdlib/contracts/contractsOnMembers.kt");
|
||||
|
||||
+5
@@ -4651,6 +4651,11 @@ public class IrLoadJavaTestGenerated extends AbstractIrLoadJavaTest {
|
||||
runTest("compiler/testData/loadJava/compiledKotlinWithStdlib/contracts/callsEffect.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("contractWithRefiedGeneric.kt")
|
||||
public void testContractWithRefiedGeneric() throws Exception {
|
||||
runTest("compiler/testData/loadJava/compiledKotlinWithStdlib/contracts/contractWithRefiedGeneric.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("contractsOnMembers.kt")
|
||||
public void testContractsOnMembers() throws Exception {
|
||||
runTest("compiler/testData/loadJava/compiledKotlinWithStdlib/contracts/contractsOnMembers.kt");
|
||||
|
||||
Generated
+5
@@ -4650,6 +4650,11 @@ public class LoadJavaUsingJavacTestGenerated extends AbstractLoadJavaUsingJavacT
|
||||
runTest("compiler/testData/loadJava/compiledKotlinWithStdlib/contracts/callsEffect.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("contractWithRefiedGeneric.kt")
|
||||
public void testContractWithRefiedGeneric() throws Exception {
|
||||
runTest("compiler/testData/loadJava/compiledKotlinWithStdlib/contracts/contractWithRefiedGeneric.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("contractsOnMembers.kt")
|
||||
public void testContractsOnMembers() throws Exception {
|
||||
runTest("compiler/testData/loadJava/compiledKotlinWithStdlib/contracts/contractsOnMembers.kt");
|
||||
|
||||
Reference in New Issue
Block a user