Closed DylanPiercey closed 1 year ago
Latest commit: e8463ff045e6051646584172643d370ca7a220fb
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Patch coverage: 100.00
% and project coverage change: +0.18
:tada:
Comparison is base (
be73442
) 93.66% compared to head (e8463ff
) 93.84%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Description
Ensures that in the expression state whenever a terminator is found for the expression and the terminator is preceded by an operator that expression state continues.
Motivation and Context
This allows for better parsing of expressions in several places. The case that brought about this change was as follows:
With the above the tag variable state was being terminated by the
(
and going into tag arguments / shorthand default method mode. With this change it will now see the paren and walk backward past whitespace to see the:
which is an expression operator causing the(B | C)
to be a part of the tag variable (for types).Screenshots (if appropriate):
Checklist: