Fixed EA-75979

This commit is contained in:
Valentin Kipyatkov
2016-02-04 20:18:34 +03:00
parent 8b6338ce62
commit eca581ef43
@@ -334,6 +334,7 @@ class SmartCompletion(
if (matchedExpectedInfos.isEmpty()) return null
var lookupElement = lookupElementFactory.createLookupElement(descriptor, useReceiverTypes = false, parametersAndTypeGrayed = true)
?: return null
lookupElement = object: LookupElementDecorator<LookupElement>(lookupElement) {
override fun getLookupString() = "::" + delegate.lookupString
override fun getAllLookupStrings() = setOf(lookupString)