forked from sublimehq/Packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Python] Introduce qualified-name-until-leaf ctx
... and use it to match function calls less explicitly and more magically. Usually you would think this is bad, but it's not because it's not really less explicit. It just avoids repetition when scoping the last (non-special) part of a qualified name with a name other than "meta.generic-name". This change triggers the bug described in sublimehq/sublime_text#1190, where the most-inner context in a multi-push operation *must* match at least one character before it can be popped. Due this, the tests are currently *not* passing.
- Loading branch information
1 parent
63706ac
commit 2483930
Showing
2 changed files
with
104 additions
and
46 deletions.
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