-
-
Notifications
You must be signed in to change notification settings - Fork 766
Error on write when assigning inside lambda #554
Copy link
Copy link
Closed
Description
This code lambda: x = 1 will trigger the following error on write:
Error detected while processing function pymode#buffer_post_write..pymode#lint#check:
line 11:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File ".../python-mode/pymode/lint.py", line 71, in code_check
env.run('g:PymodeLocList.current().extend', [e._info for e in errors])
File ".../pymode/environment.py", line 186, in run
self.prepare_value(a) for a in args
vim.error: Vim(call):E121: Undefined variable: null
Error detected while processing function pymode#buffer_post_write:
line 10:
E171: Missing :endif
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels