Internal Kotlin packages now should be completable in parent packages

Internal packages which are hard-excluded from completion and
 imports now should be visible there if file package are parent of
 excluded one
 e.g kotlin.jvm.internal.* now visible from kotlin and kotlin.jvm
 #KT-16214 fixed
This commit is contained in:
Simon Ogorodnik
2017-03-03 16:11:21 +03:00
parent 27bf51c73f
commit 3bf7223448
9 changed files with 62 additions and 8 deletions
@@ -0,0 +1,14 @@
// "Import" "true"
// WITH_RUNTIME
// ACTION: Create local variable 'FunctionReference'
// ACTION: Create object 'FunctionReference'
// ACTION: Create parameter 'FunctionReference'
// ACTION: Create property 'FunctionReference'
// ACTION: Introduce local variable
// ACTION: Rename reference
package kotlin
fun some() {
FunctionReference<caret>::class
}
@@ -0,0 +1,16 @@
// "Import" "true"
// WITH_RUNTIME
// ACTION: Create local variable 'FunctionReference'
// ACTION: Create object 'FunctionReference'
// ACTION: Create parameter 'FunctionReference'
// ACTION: Create property 'FunctionReference'
// ACTION: Introduce local variable
// ACTION: Rename reference
package kotlin
import kotlin.jvm.internal.FunctionReference
fun some() {
FunctionReference::class
}