KT-12793 Code completion doesn't suggest abstract protected extension methods
#KT-12793 Fixed
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
abstract class ProtectedTest {
|
||||
fun foo() {
|
||||
"".<caret>
|
||||
}
|
||||
|
||||
abstract protected fun String.bar()
|
||||
}
|
||||
|
||||
// EXIST: bar
|
||||
+6
@@ -649,6 +649,12 @@ public class JSBasicCompletionTestGenerated extends AbstractJSBasicCompletionTes
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("ProtectedExtensionMethod.kt")
|
||||
public void testProtectedExtensionMethod() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/ProtectedExtensionMethod.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("QualifiedSuperMembers.kt")
|
||||
public void testQualifiedSuperMembers() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/QualifiedSuperMembers.kt");
|
||||
|
||||
+6
@@ -649,6 +649,12 @@ public class JvmBasicCompletionTestGenerated extends AbstractJvmBasicCompletionT
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("ProtectedExtensionMethod.kt")
|
||||
public void testProtectedExtensionMethod() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/ProtectedExtensionMethod.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("QualifiedSuperMembers.kt")
|
||||
public void testQualifiedSuperMembers() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/QualifiedSuperMembers.kt");
|
||||
|
||||
Reference in New Issue
Block a user