[NI] Move ability to convert standalone SAM-argument under the feature
If new inference is enabled only for IDE analysis, then this feature will be disabled to reduce difference between new and old inference, but if new inference is enabled in the compiler, then this feature will be enabled too to preserve behavior of new inference for compilation #KT-32175 Fixed #KT-32143 Fixed #KT-32123 Fixed #KT-32230 Fixed
This commit is contained in:
@@ -576,6 +576,26 @@ public class CliTestGenerated extends AbstractCliTest {
|
||||
runTest("compiler/testData/cli/jvm/singleJavaFileRoots.args");
|
||||
}
|
||||
|
||||
@TestMetadata("standaloneSamConversionsAreDisabledExplicitlyWithNewInference.args")
|
||||
public void testStandaloneSamConversionsAreDisabledExplicitlyWithNewInference() throws Exception {
|
||||
runTest("compiler/testData/cli/jvm/standaloneSamConversionsAreDisabledExplicitlyWithNewInference.args");
|
||||
}
|
||||
|
||||
@TestMetadata("standaloneSamConversionsAreEnabledWithNewInference.args")
|
||||
public void testStandaloneSamConversionsAreEnabledWithNewInference() throws Exception {
|
||||
runTest("compiler/testData/cli/jvm/standaloneSamConversionsAreEnabledWithNewInference.args");
|
||||
}
|
||||
|
||||
@TestMetadata("standaloneSamConversionsAreEnabledWithNewInferenceInternalFlag.args")
|
||||
public void testStandaloneSamConversionsAreEnabledWithNewInferenceInternalFlag() throws Exception {
|
||||
runTest("compiler/testData/cli/jvm/standaloneSamConversionsAreEnabledWithNewInferenceInternalFlag.args");
|
||||
}
|
||||
|
||||
@TestMetadata("standaloneSamConversionsBaseline_1_3.args")
|
||||
public void testStandaloneSamConversionsBaseline_1_3() throws Exception {
|
||||
runTest("compiler/testData/cli/jvm/standaloneSamConversionsBaseline_1_3.args");
|
||||
}
|
||||
|
||||
@TestMetadata("suppressAllWarningsJvm.args")
|
||||
public void testSuppressAllWarningsJvm() throws Exception {
|
||||
runTest("compiler/testData/cli/jvm/suppressAllWarningsJvm.args");
|
||||
|
||||
Reference in New Issue
Block a user