Added test with type alias
This commit is contained in:
@@ -0,0 +1,9 @@
|
|||||||
|
typealias Handler = (name: String) -> String
|
||||||
|
|
||||||
|
fun x(handler: Handler): String {
|
||||||
|
return handler(<caret>)
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Text: (<highlight>name: String</highlight>), Disabled: false, Strikeout: false, Green: true
|
||||||
|
*/
|
||||||
@@ -112,6 +112,12 @@ public class ParameterInfoTestGenerated extends AbstractParameterInfoTest {
|
|||||||
doTest(fileName);
|
doTest(fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("FunctionalValueAndTypeAlias.kt")
|
||||||
|
public void testFunctionalValueAndTypeAlias() throws Exception {
|
||||||
|
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/parameterInfo/functionCall/FunctionalValueAndTypeAlias.kt");
|
||||||
|
doTest(fileName);
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("InheritedFunctions.kt")
|
@TestMetadata("InheritedFunctions.kt")
|
||||||
public void testInheritedFunctions() throws Exception {
|
public void testInheritedFunctions() throws Exception {
|
||||||
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/parameterInfo/functionCall/InheritedFunctions.kt");
|
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/parameterInfo/functionCall/InheritedFunctions.kt");
|
||||||
|
|||||||
Reference in New Issue
Block a user