mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[kotlin] k2: test data for parameter info for incomplete code
^KTIJ-30516 fixed GitOrigin-RevId: e97ffb78bac657d085597769e4d2b1288c4c8ed5
This commit is contained in:
committed by
intellij-monorepo-bot
parent
18a6a9d5a3
commit
11be10cacc
+5
@@ -216,6 +216,11 @@ public abstract class FirParameterInfoTestGenerated extends AbstractFirParameter
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/InheritedWithCurrentFunctions.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InvalidCandidates.kt")
|
||||
public void testInvalidCandidates() throws Exception {
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/InvalidCandidates.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Invoke.kt")
|
||||
public void testInvoke() throws Exception {
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/Invoke.kt");
|
||||
|
||||
+5
@@ -216,6 +216,11 @@ public abstract class ParameterInfoTestGenerated extends AbstractParameterInfoTe
|
||||
runTest("testData/parameterInfo/functionCall/InheritedWithCurrentFunctions.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InvalidCandidates.kt")
|
||||
public void testInvalidCandidates() throws Exception {
|
||||
runTest("testData/parameterInfo/functionCall/InvalidCandidates.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Invoke.kt")
|
||||
public void testInvoke() throws Exception {
|
||||
runTest("testData/parameterInfo/functionCall/Invoke.kt");
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
class Foo<T>
|
||||
fun <K> Foo<K>.foo(i: Int, s: String) {}
|
||||
fun <K> Foo<K>.foo(s: String) {}
|
||||
fun m(f: Foo<String>) {
|
||||
f.foo(<caret>)
|
||||
}
|
||||
|
||||
/*
|
||||
Text: (<highlight>i: Int</highlight>, s: String), Disabled: false, Strikeout: false, Green: false
|
||||
Text: (<highlight>s: String</highlight>), Disabled: false, Strikeout: false, Green: false
|
||||
*/
|
||||
Reference in New Issue
Block a user