[NI] Add resolution applicability for resolved candidates with error
New resolution applicability is needed in cases when error is found, but candidate still should be selected. Currently there are two cases, when this behaviour is required: - unstable smartcast (choose candidate with non-nullable parameter) - unknown lambda parameter type (against non-functional expected type) KT-36264
This commit is contained in:
Generated
+5
@@ -4842,6 +4842,11 @@ public class DiagnosticsTestSpecGenerated extends AbstractDiagnosticsTestSpec {
|
||||
runTest("compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/45.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("46.kt")
|
||||
public void test46() throws Exception {
|
||||
runTest("compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/46.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("5.kt")
|
||||
public void test5() throws Exception {
|
||||
runTest("compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/5.kt");
|
||||
|
||||
Reference in New Issue
Block a user