[NI] Check for maximally specific candidate chosen with factory resolution
This commit is contained in:
+10
@@ -2820,6 +2820,16 @@ public class DiagnosticsTestWithStdLibGenerated extends AbstractDiagnosticsTestW
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/factoryPattern/independentResolutionInLambda.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("multipleOverloads_1.kt")
|
||||
public void testMultipleOverloads_1() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/factoryPattern/multipleOverloads_1.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("multipleOverloads_2.kt")
|
||||
public void testMultipleOverloads_2() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/factoryPattern/multipleOverloads_2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("overloadByLambdaReturnType_disabled.kt")
|
||||
public void testOverloadByLambdaReturnType_disabled() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/factoryPattern/overloadByLambdaReturnType_disabled.kt");
|
||||
|
||||
compiler/tests/org/jetbrains/kotlin/checkers/javac/DiagnosticsTestWithStdLibUsingJavacGenerated.java
Generated
+10
@@ -2820,6 +2820,16 @@ public class DiagnosticsTestWithStdLibUsingJavacGenerated extends AbstractDiagno
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/factoryPattern/independentResolutionInLambda.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("multipleOverloads_1.kt")
|
||||
public void testMultipleOverloads_1() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/factoryPattern/multipleOverloads_1.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("multipleOverloads_2.kt")
|
||||
public void testMultipleOverloads_2() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/factoryPattern/multipleOverloads_2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("overloadByLambdaReturnType_disabled.kt")
|
||||
public void testOverloadByLambdaReturnType_disabled() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/factoryPattern/overloadByLambdaReturnType_disabled.kt");
|
||||
|
||||
Reference in New Issue
Block a user