Add test to preserve behaviour
It's important to have ambiguity in these cases to introduce overload resolution by suspend-modifier without breaking changes in future Relates to #KT-23610
This commit is contained in:
+5
@@ -23222,6 +23222,11 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirOldFronte
|
||||
runTest("compiler/testData/diagnostics/tests/suspendConversion/chainedFunSuspendConversionForSimpleExpression.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("overloadResolutionBySuspendModifier.kt")
|
||||
public void testOverloadResolutionBySuspendModifier() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/suspendConversion/overloadResolutionBySuspendModifier.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("severalConversionsInOneCall.kt")
|
||||
public void testSeveralConversionsInOneCall() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/suspendConversion/severalConversionsInOneCall.kt");
|
||||
|
||||
Reference in New Issue
Block a user