[NI] Set correct applicability for unknown lambda parameter diagnostic
Unknown lambda parameter should not change resolve. So the new diagnostic should not have error status; othrewise candidates with lower priority but more specific expected type may be chosen. KT-34335 Fixed See also KT-36264
This commit is contained in:
Generated
+5
@@ -10161,6 +10161,11 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirOldFronte
|
||||
runTest("compiler/testData/diagnostics/tests/inference/reportAboutUnresolvedReferenceAsUnresolved.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("resolveWithUnknownLambdaParameterType.kt")
|
||||
public void testResolveWithUnknownLambdaParameterType() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/resolveWithUnknownLambdaParameterType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("starApproximation.kt")
|
||||
public void testStarApproximation() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/starApproximation.kt");
|
||||
|
||||
Reference in New Issue
Block a user