Skip to content
This repository has been archived by the owner on Apr 14, 2022. It is now read-only.

Handle named expressions in analysis, linting, symbols, hover #1566

Merged
merged 5 commits into from
Sep 19, 2019

Conversation

jakebailey
Copy link
Member

Fixes #1560.

Note that named expressions inside things that "aren't scopes" in our AST (comprehensions) do not work as intended; needs to be fixed separately by introducing true comprehension scoping, which I'll file separately.

@jakebailey jakebailey merged commit 36e3010 into microsoft:master Sep 19, 2019
@jakebailey jakebailey deleted the walrus-fixes branch September 19, 2019 20:18
jakebailey added a commit to jakebailey/python-language-server that referenced this pull request Nov 1, 2019
…oft#1566)

* Analysis and linting for named expressions

* Indexing

* Fix hover test for named expression

* Add back newline to test file

* Make version required for GetParse in symbol walker tests
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add NamedExpression handling to analysis
2 participants