Skip to content

Clean-up the "IsKey" logic#1073

Merged
aaubry merged 1 commit intomasterfrom
cleanup-iskey
Jan 6, 2026
Merged

Clean-up the "IsKey" logic#1073
aaubry merged 1 commit intomasterfrom
cleanup-iskey

Conversation

@aaubry
Copy link
Copy Markdown
Owner

@aaubry aaubry commented Jan 6, 2026

The logic behind the "IsKey" property is convoluted because it is implemented in the scanner instead of the parser, which is the class that ultimately needs that information and has all the necessary context. Also, the "IsKey" property is not really tested and explicitly excluded from some tests.

This moves the logic to the parser and removes the exclusions from the tests.

@aaubry aaubry merged commit 4cadc0f into master Jan 6, 2026
1 of 2 checks passed
@aaubry aaubry deleted the cleanup-iskey branch January 6, 2026 18:22
This was referenced Apr 9, 2026
This was referenced Apr 10, 2026
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.

1 participant