[NI] Add required FactoryPattern annotation for factory pattern resolve
#KT-11265
This commit is contained in:
+5
@@ -2824,6 +2824,11 @@ public class DiagnosticsTestWithStdLibGenerated extends AbstractDiagnosticsTestW
|
||||
public void testOverloadByLambdaReturnType_enabled() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/factoryPattern/overloadByLambdaReturnType_enabled.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("overloadByLambdaReturnType_enabled_no_annotation.kt")
|
||||
public void testOverloadByLambdaReturnType_enabled_no_annotation() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/factoryPattern/overloadByLambdaReturnType_enabled_no_annotation.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/diagnostics/testsWithStdLib/forInArrayLoop")
|
||||
|
||||
compiler/tests/org/jetbrains/kotlin/checkers/javac/DiagnosticsTestWithStdLibUsingJavacGenerated.java
Generated
+5
@@ -2824,6 +2824,11 @@ public class DiagnosticsTestWithStdLibUsingJavacGenerated extends AbstractDiagno
|
||||
public void testOverloadByLambdaReturnType_enabled() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/factoryPattern/overloadByLambdaReturnType_enabled.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("overloadByLambdaReturnType_enabled_no_annotation.kt")
|
||||
public void testOverloadByLambdaReturnType_enabled_no_annotation() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/factoryPattern/overloadByLambdaReturnType_enabled_no_annotation.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/diagnostics/testsWithStdLib/forInArrayLoop")
|
||||
|
||||
Reference in New Issue
Block a user