QualifierExpressionResolver: cleanup code
This commit is contained in:
@@ -477,7 +477,7 @@ class QualifiedExpressionResolver {
|
|||||||
moduleDescriptor.quickResolveToPackage(path, trace, position)
|
moduleDescriptor.quickResolveToPackage(path, trace, position)
|
||||||
|
|
||||||
var currentDescriptor: DeclarationDescriptor? = prefixDescriptor
|
var currentDescriptor: DeclarationDescriptor? = prefixDescriptor
|
||||||
for (qualifierPartIndex in nextIndexAfterPrefix..path.size - 1) {
|
for (qualifierPartIndex in nextIndexAfterPrefix until path.size) {
|
||||||
val qualifierPart = path[qualifierPartIndex]
|
val qualifierPart = path[qualifierPartIndex]
|
||||||
|
|
||||||
val nextPackageOrClassDescriptor =
|
val nextPackageOrClassDescriptor =
|
||||||
|
|||||||
Reference in New Issue
Block a user