"Rename on import" hides importing of the same symbol by other imports with the original name

This commit is contained in:
Valentin Kipyatkov
2016-01-13 20:22:40 +03:00
parent 47041885ca
commit 5a079defc7
13 changed files with 111 additions and 32 deletions
@@ -146,7 +146,8 @@ class CodeFragmentAnalyzer(
}
val importScopes = importList.imports.mapNotNull {
qualifierResolver.processImportReference(it, resolveSession.moduleDescriptor, resolveSession.trace, null)
qualifierResolver.processImportReference(it, resolveSession.moduleDescriptor, resolveSession.trace,
aliasImportNames = emptyList(), packageFragmentForVisibilityCheck = null)
}
return scopeForContextElement.addImportingScopes(importScopes) to dataFlowInfo