KT-4027 No type name completion in an incomplete generic extension function declaration

KT-2940 No completion in the receiver type argument position

 #KT-4027 Fixed
 #KT-2940 Fixed
This commit is contained in:
Valentin Kipyatkov
2014-09-19 14:23:11 +02:00
committed by valentin
parent 93d8791df1
commit afbd1aeffc
7 changed files with 135 additions and 25 deletions
@@ -0,0 +1,8 @@
fun foo() {}
fun <T> S<caret>
// INVOCATION_COUNT: 1
// EXIST: String
// EXIST: Set
// ABSENT: foo
@@ -0,0 +1,11 @@
class Foo{}
fun foo() {}
fun <T> <caret>
// INVOCATION_COUNT: 1
// EXIST: Foo
// EXIST: String
// EXIST: Set
// ABSENT: foo
@@ -0,0 +1,8 @@
fun Strange(){}
fun Annotations<S<caret>
// INVOCATION_COUNT: 1
// EXIST: String
// EXIST: Set
// ABSENT: Strange
@@ -0,0 +1,7 @@
fun Strange(){}
fun Map<() -> Unit, Str<caret>
// INVOCATION_COUNT: 0
// EXIST: String
// ABSENT: Strange