[FIR] Improved lambda completion: initial implementation
Repeat the logic of KotlinConstraintSystemCompleter in ConstraintSystemCompleter. Implement additional context operations required for updated lambda completion algorithm.
This commit is contained in:
@@ -10454,6 +10454,11 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTestWithFirVali
|
||||
runTest("compiler/testData/diagnostics/tests/inference/lambdaInValInitializerWithAnonymousFunctions.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("lambdaParameterTypeInElvis.kt")
|
||||
public void testLambdaParameterTypeInElvis() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/lambdaParameterTypeInElvis.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("listConstructor.kt")
|
||||
public void testListConstructor() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/listConstructor.kt");
|
||||
|
||||
Generated
+5
@@ -10449,6 +10449,11 @@ public class DiagnosticsUsingJavacTestGenerated extends AbstractDiagnosticsUsing
|
||||
runTest("compiler/testData/diagnostics/tests/inference/lambdaInValInitializerWithAnonymousFunctions.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("lambdaParameterTypeInElvis.kt")
|
||||
public void testLambdaParameterTypeInElvis() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/lambdaParameterTypeInElvis.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("listConstructor.kt")
|
||||
public void testListConstructor() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/listConstructor.kt");
|
||||
|
||||
Reference in New Issue
Block a user