

def run(self, edit):
    selections = list(self.view.sel())
    if (not i.is_infos_valid(selections)):
        self.Infos = [ExpandSelectionInfo(self.view, s) for s in selections]
    if (not self.is_infos_valid(selections)):
        show_status_message('Unable to retrieve expand selection info', False)
        return
    tr = [i.expand() for i in self.Infos]
    self.view.sel().clear()
    self.view.sel().add_all([t.region for t in tr])
    output_panel(self.view.window(), '\n'.join([t.typename for t in tr]), panel_name='sublime_haskell_expand_selection_expression', syntax='Haskell-SublimeHaskell')

dataset/ETHPy150Open SublimeHaskell/SublimeHaskell/haskell_type.py SublimeHaskellExpandSelectionExpression.run/VarMisuse@28/30 `self`->`i`