Skip to content

fix python comprehension bug#130

Open
jbiosca78 wants to merge 1 commit intonumirias:masterfrom
jbiosca78:master
Open

fix python comprehension bug#130
jbiosca78 wants to merge 1 commit intonumirias:masterfrom
jbiosca78:master

Conversation

@jbiosca78
Copy link

when editing a python file with comprehension:

a=["yes","yeah","no"]
b=[x for x in a if "y" in x]

semshi explodes:

File "/home/jbiosca/.local/share/nvim/lazy/semshi/rplugin/python3/semshi/visitor.py", line 111, in visit
current_table = self._table_stack.pop()
^^^^^^^^^^^^^^^^^^^^^^^
IndexError: pop from empty list
stack traceback:
[C]: in function '_with'
/usr/share/nvim/runtime/filetype.lua:35: in function </usr/share/nvim/runtime/filetype.lua:10>

@DevprojectEkla
Copy link

Thanks man that worked for me !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants