Added TODO

This commit is contained in:
Valentin Kipyatkov
2015-02-11 23:55:55 +03:00
parent 49e6b97752
commit 78d927c3c3
@@ -64,6 +64,7 @@ public fun performDelayedShortening(project: Project) {
val elements = requests.map { it.pointer.getElement() }
val options = requests.map { it.options }
val elementToOptions = (elements zip options).toMap()
//TODO: this is not correct because it should not shorten deep into the elements!
ShortenReferences({ elementToOptions[it] ?: ShortenReferences.Options.DEFAULT }).process(elements.filterNotNull())
}
}