Don't mark signature as inapplicable when argument is empty/incomplete
This will improve the usability when using named arguments where incomplete arguments can't be mapped to a parameter simply by position. ^KT-24172 Fixed
This commit is contained in:
committed by
Vladimir Dolzhenko
parent
343010a833
commit
78493395c3
+15
@@ -221,6 +221,11 @@ public class ParameterInfoTestGenerated extends AbstractParameterInfoTest {
|
||||
runTest("idea/testData/parameterInfo/functionCall/NamedParameter2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NamedParameter3.kt")
|
||||
public void testNamedParameter3() throws Exception {
|
||||
runTest("idea/testData/parameterInfo/functionCall/NamedParameter3.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NoAnnotations.kt")
|
||||
public void testNoAnnotations() throws Exception {
|
||||
runTest("idea/testData/parameterInfo/functionCall/NoAnnotations.kt");
|
||||
@@ -346,6 +351,16 @@ public class ParameterInfoTestGenerated extends AbstractParameterInfoTest {
|
||||
runTest("idea/testData/parameterInfo/functionCall/TooManyArgs.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TooManyArgs2.kt")
|
||||
public void testTooManyArgs2() throws Exception {
|
||||
runTest("idea/testData/parameterInfo/functionCall/TooManyArgs2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TrailingComma.kt")
|
||||
public void testTrailingComma() throws Exception {
|
||||
runTest("idea/testData/parameterInfo/functionCall/TrailingComma.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TwoFunctions.kt")
|
||||
public void testTwoFunctions() throws Exception {
|
||||
runTest("idea/testData/parameterInfo/functionCall/TwoFunctions.kt");
|
||||
|
||||
Reference in New Issue
Block a user