def identifiers_from_result(self, result):
        out = []

        candidates = []
        longest_desc_length = 0
        longest_desc = ''
        for complete in result:
            candidates.append(complete)

            desc_len = len(complete['name'])

            if desc_len > longest_desc_length:
                longest_desc = complete['name']
                longest_desc_length = desc_len

        for completion in candidates:
            description = completion['name']
            _type = completion['typeName']
            abbr = description + ' ' + _type.rjust((longest_desc_length - len(description)) + 1)
            info = _type

            candidate = dict(word=description,
                              abbr=abbr,
                              info=info,
                              dup=1
                              )

            out.append(candidate)

        return out
dataset/ETHPy150Open landaire/deoplete-swift/rplugin/python3/deoplete/sources/swift.py/Source.identifiers_from_result/swapped operands of `-`