-
Notifications
You must be signed in to change notification settings - Fork 871
Closed
Labels
bugSomething isn't workingSomething isn't workingfixed in next version (main)A fix has been implemented and will appear in an upcoming versionA fix has been implemented and will appear in an upcoming version
Description
Environment data
- Language Server version: 2020.6.1
- OS and version: Windows 10 1909
- Python version (& distribution if applicable, e.g. Anaconda): 3.8.3 64-bit
Expected behaviour
No problems are found in the code snippet below.
Actual behaviour
Pylance finds problems because it incorrectly interprets the Unicode character \N{combining enclosing keycap}
as an expression inside the f-string.
Logs
N/A
Code Snippet / Additional information
num_emojis = [f"{i}\N{combining enclosing keycap}" for i in range(1, 10)] + ["\N{keycap ten}"]
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingfixed in next version (main)A fix has been implemented and will appear in an upcoming versionA fix has been implemented and will appear in an upcoming version