-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix internal error on list/dict comprehension with walrus operator in…
… global scope (#9062) * Add tests for dicts using assignment expression * Confirm the symbol table retrieved is not None It may be None in the case of a list comprehension being declared in a class scope (not in a function of a class). This, however, is not valid python syntax. * Add tests for assignment expression in class scope
- Loading branch information
Showing
2 changed files
with
66 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters