Remove synthetic flag from internal members
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
// PSI_ELEMENT: org.jetbrains.kotlin.psi.JetNamedFunction
|
||||
// OPTIONS: usages
|
||||
package server
|
||||
|
||||
public open class Server() {
|
||||
open internal fun <caret>processRequest() = "foo"
|
||||
}
|
||||
|
||||
public class ServerEx(): Server() {
|
||||
override fun processRequest() = "foofoo"
|
||||
}
|
||||
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
import server.*;
|
||||
|
||||
class Client {
|
||||
public fun foo() {
|
||||
Server().processRequest()
|
||||
ServerEx().processRequest()
|
||||
}
|
||||
}
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
Function call (5: 18) Server().processRequest()
|
||||
Function call (6: 20) ServerEx().processRequest()
|
||||
@@ -552,6 +552,12 @@ public class JetFindUsagesTestGenerated extends AbstractJetFindUsagesTest {
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("kotlinInternalMethodUsages.0.kt")
|
||||
public void testKotlinInternalMethodUsages() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("idea/testData/findUsages/kotlin/findFunctionUsages/kotlinInternalMethodUsages.0.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("kotlinLocalMethodUsages1.0.kt")
|
||||
public void testKotlinLocalMethodUsages1() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("idea/testData/findUsages/kotlin/findFunctionUsages/kotlinLocalMethodUsages1.0.kt");
|
||||
|
||||
Reference in New Issue
Block a user