Allow declaring contracts on suspend functions. KT-27468 Fixed
This commit is contained in:
+5
-5
@@ -1174,16 +1174,16 @@ public class DiagnosticsTestWithStdLibGenerated extends AbstractDiagnosticsTestW
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/contracts/dsl/errors/callInContractDescription.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("contractCallSites.kt")
|
||||
public void testContractCallSites() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/contracts/dsl/errors/contractCallSites.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("emptyContract.kt")
|
||||
public void testEmptyContract() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/contracts/dsl/errors/emptyContract.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("illegalCallSites.kt")
|
||||
public void testIllegalCallSites() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/contracts/dsl/errors/illegalCallSites.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("illegalConstructionInContractBlock.kt")
|
||||
public void testIllegalConstructionInContractBlock() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/contracts/dsl/errors/illegalConstructionInContractBlock.kt");
|
||||
|
||||
compiler/tests/org/jetbrains/kotlin/checkers/javac/DiagnosticsTestWithStdLibUsingJavacGenerated.java
Generated
+5
-5
@@ -1174,16 +1174,16 @@ public class DiagnosticsTestWithStdLibUsingJavacGenerated extends AbstractDiagno
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/contracts/dsl/errors/callInContractDescription.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("contractCallSites.kt")
|
||||
public void testContractCallSites() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/contracts/dsl/errors/contractCallSites.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("emptyContract.kt")
|
||||
public void testEmptyContract() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/contracts/dsl/errors/emptyContract.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("illegalCallSites.kt")
|
||||
public void testIllegalCallSites() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/contracts/dsl/errors/illegalCallSites.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("illegalConstructionInContractBlock.kt")
|
||||
public void testIllegalConstructionInContractBlock() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/contracts/dsl/errors/illegalConstructionInContractBlock.kt");
|
||||
|
||||
Reference in New Issue
Block a user