Fixed tests.

This commit is contained in:
2021-07-19 13:35:45 +02:00
parent c13e488ab8
commit b966623765
3 changed files with 21 additions and 11 deletions
@@ -63,10 +63,8 @@ class M68kLocalLabelReference(element: M68kSymbolReference) : PsiPolyVariantRefe
}
override fun getVariants(): Array<Any> {
return findLocalLabels(element) { true }.asSequence()
.distinct()
return findLocalLabels(element) { true }
.map { LookupElementBuilder.createWithIcon(it) }
.toList()
.toTypedArray()
}
}