Add support for mixed named arguments to parameter info popup
Don't display parameter info in square brackets if the caller doesn't have to use a named argument. This makes the parameter info popup reflect the new capability introduced with MixedNamedArgumentsInTheirOwnPosition. ^KT-41645 Fixed
This commit is contained in:
committed by
Vladimir Dolzhenko
parent
af6e744b65
commit
91c021c699
+10
@@ -196,6 +196,16 @@ public class ParameterInfoTestGenerated extends AbstractParameterInfoTest {
|
||||
runTest("idea/testData/parameterInfo/functionCall/LocalFunctionBug.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("MixedNamedArguments.kt")
|
||||
public void testMixedNamedArguments() throws Exception {
|
||||
runTest("idea/testData/parameterInfo/functionCall/MixedNamedArguments.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("MixedNamedArguments2.kt")
|
||||
public void testMixedNamedArguments2() throws Exception {
|
||||
runTest("idea/testData/parameterInfo/functionCall/MixedNamedArguments2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NamedAndDefaultParameter.kt")
|
||||
public void testNamedAndDefaultParameter() throws Exception {
|
||||
runTest("idea/testData/parameterInfo/functionCall/NamedAndDefaultParameter.kt");
|
||||
|
||||
Reference in New Issue
Block a user