"Rename on import" hides importing of the same symbol by other imports with the original name
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user