Skip to content

Syntax coloring become broken after use of type annotation #662

Description

Any time type annotation used this lead to some weird behavior of coloring syntax.
See color of keywords for this example:
image
And the correct version:
image

In more complex cases this also broke code collapsing completely.

Environment data

VS Code version:
Python Extension version:
Python Version: 3.5, 3.6
OS and version: Windows 7, Windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions