Completion of object's in type position - they can be used there

This commit is contained in:
Valentin Kipyatkov
2014-12-05 08:05:23 +03:00
parent ca2b1efac9
commit cb5c12cda3
9 changed files with 37 additions and 28 deletions
@@ -4,5 +4,4 @@ fun test() {
val a : Named<caret>
}
// INVOCATION_COUNT: 2
// ABSENT: NamedObject
// EXIST: NamedObject
@@ -0,0 +1,3 @@
package ppp
object SomeObject
@@ -0,0 +1,4 @@
fun foo(): S<caret>
// INVOCATION_COUNT: 2
// EXIST: SomeObject