Synthetic properties: fixed completion and inspection for generic class

+ fixed KT-8539 No completion of generic extension function for <*> type arguments

 #KT-8539 Fixed
This commit is contained in:
Valentin Kipyatkov
2015-07-17 19:57:01 +03:00
parent d2fb7381ce
commit e0e7044032
15 changed files with 103 additions and 31 deletions
@@ -0,0 +1,9 @@
class MyClass<T>
fun <T> MyClass<T>.ext() = ""
fun foo(t: MyClass<*>) {
t.<caret>
}
// EXIST: ext
@@ -0,0 +1,10 @@
fun foo(klass: Class<*>) {
klass.<caret>
}
// EXIST_JAVA_ONLY: simpleName
// ABSENT: getSimpleName
// EXIST_JAVA_ONLY: enclosingClass
// ABSENT: getEnclosingClass
// EXIST_JAVA_ONLY: annotations
// ABSENT: getAnnotations