Extraction Engine: Support references to synthetic properties
This commit is contained in:
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
interface Named {
|
||||
@NotNull
|
||||
String getName();
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
// WITH_RUNTIME
|
||||
// PARAM_DESCRIPTOR: private final fun Named.foo(): [org.jetbrains.annotations.NotNull] String defined in Test
|
||||
// PARAM_TYPES: Named
|
||||
public class Test {
|
||||
private fun Named.foo() = <selection>name</selection>
|
||||
}
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
// WITH_RUNTIME
|
||||
// PARAM_DESCRIPTOR: private final fun Named.foo(): [org.jetbrains.annotations.NotNull] String defined in Test
|
||||
// PARAM_TYPES: Named
|
||||
public class Test {
|
||||
private fun Named.foo() = s()
|
||||
|
||||
private fun Named.s() = name
|
||||
}
|
||||
Reference in New Issue
Block a user