Skip to content

Weird parsing results with nested template argument list #192

@ekilmer

Description

@ekilmer

This example gives weird/inconsistent results leading me to believe there's an issue with parsing nested templates:

map<string, string> m;
map<string, vector<string>> m2;
map<string, vector<vector<string>>> v;

I expect to see all types highlighted, but the last line fails to highlight string in the first index to map; instead parsing it as an identifier when I expect type_identifier:

Screenshot 2023-02-24 at 9 42 46 AM

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