Skip to content

Opinionated fix for failing to parse AngleBracketedGenericArguments#27

Open
TGRCdev wants to merge 1 commit into
jf2048:mainfrom
TGRCdev:skip-by-expr
Open

Opinionated fix for failing to parse AngleBracketedGenericArguments#27
TGRCdev wants to merge 1 commit into
jf2048:mainfrom
TGRCdev:skip-by-expr

Conversation

@TGRCdev
Copy link
Copy Markdown

@TGRCdev TGRCdev commented May 15, 2025

Resolves #26.

This PR changes skip_meta_item to check if < is the next token, parsing AngleBracketedGenericArguments if it does and Expr if it doesn't. It will repeat this check until a , token is found.

I'm not sure if this is the best way to fix this, but it's the way I fixed it for my current use-case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

skip_meta_item will stop mid-way inside of angle brackets if a comma is present

1 participant