Fixed EA-66035
This commit is contained in:
@@ -52,8 +52,9 @@ class AliasImportsIndexed(allImports: Collection<JetImportDirective>) : IndexedI
|
|||||||
val builder = ImmutableListMultimap.builder<Name, JetImportDirective>()
|
val builder = ImmutableListMultimap.builder<Name, JetImportDirective>()
|
||||||
|
|
||||||
for (directive in imports) {
|
for (directive in imports) {
|
||||||
val path = directive.getImportPath() ?: continue // can be some parse errors
|
val path = directive.getImportPath() ?: continue // parse error
|
||||||
builder.put(path.getImportedName()!!, directive)
|
val importedName = path.getImportedName() ?: continue // parse error
|
||||||
|
builder.put(importedName, directive)
|
||||||
}
|
}
|
||||||
|
|
||||||
builder.build()
|
builder.build()
|
||||||
|
|||||||
Reference in New Issue
Block a user