Enable SAM conversion for Kotlin functions by default in new inference
KT-25686
This commit is contained in:
@@ -206,6 +206,16 @@ public class CliTestGenerated extends AbstractCliTest {
|
||||
runTest("compiler/testData/cli/jvm/experimentalUnresolved.args");
|
||||
}
|
||||
|
||||
@TestMetadata("explicitlyDisableSamConversionsWithOldFlag.args")
|
||||
public void testExplicitlyDisableSamConversionsWithOldFlag() throws Exception {
|
||||
runTest("compiler/testData/cli/jvm/explicitlyDisableSamConversionsWithOldFlag.args");
|
||||
}
|
||||
|
||||
@TestMetadata("explicitlyDisabledSamConversions.args")
|
||||
public void testExplicitlyDisabledSamConversions() throws Exception {
|
||||
runTest("compiler/testData/cli/jvm/explicitlyDisabledSamConversions.args");
|
||||
}
|
||||
|
||||
@TestMetadata("extraArgumentPassedInObsoleteForm.args")
|
||||
public void testExtraArgumentPassedInObsoleteForm() throws Exception {
|
||||
runTest("compiler/testData/cli/jvm/extraArgumentPassedInObsoleteForm.args");
|
||||
@@ -416,6 +426,16 @@ public class CliTestGenerated extends AbstractCliTest {
|
||||
runTest("compiler/testData/cli/jvm/multipleTextRangesInDiagnosticsOrder.args");
|
||||
}
|
||||
|
||||
@TestMetadata("newInferenceImpliesSamConversions.args")
|
||||
public void testNewInferenceImpliesSamConversions() throws Exception {
|
||||
runTest("compiler/testData/cli/jvm/newInferenceImpliesSamConversions.args");
|
||||
}
|
||||
|
||||
@TestMetadata("newInferenceWithOldFlagImpliesSamConversions.args")
|
||||
public void testNewInferenceWithOldFlagImpliesSamConversions() throws Exception {
|
||||
runTest("compiler/testData/cli/jvm/newInferenceWithOldFlagImpliesSamConversions.args");
|
||||
}
|
||||
|
||||
@TestMetadata("noReflect.args")
|
||||
public void testNoReflect() throws Exception {
|
||||
runTest("compiler/testData/cli/jvm/noReflect.args");
|
||||
|
||||
Reference in New Issue
Block a user