KT-8751 Assertion in HeuriticSignatures
#KT-8751 Fixed
This commit is contained in:
@@ -36,7 +36,7 @@ fun createEnhancedValueParameters(
|
||||
val (newType, oldParameter) = pair
|
||||
ValueParameterDescriptorImpl(
|
||||
newOwner,
|
||||
null,
|
||||
oldParameter,
|
||||
oldParameter.getIndex(),
|
||||
oldParameter.getAnnotations(),
|
||||
oldParameter.getName(),
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
class JavaClass {
|
||||
<T> String foo(T p){}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
fun foo(javaClass: JavaClass, p: String) {
|
||||
javaClass.foo(<caret>)
|
||||
}
|
||||
|
||||
// EXIST: p
|
||||
+6
@@ -101,6 +101,12 @@ public class MultiFileSmartCompletionTestGenerated extends AbstractMultiFileSmar
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("KT_8751")
|
||||
public void testKT_8751() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/smartMultiFile/KT_8751/");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("NoObjectDuplication")
|
||||
public void testNoObjectDuplication() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/smartMultiFile/NoObjectDuplication/");
|
||||
|
||||
Reference in New Issue
Block a user