Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lists::getOpenClose(): efficiency fix - only accept list open tokens #407

Merged
merged 1 commit into from
Dec 18, 2022

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Dec 18, 2022

The Lists::getOpenClose() method only handled list open tokens, but accepted both open as well as close tokens. This meant that for list close tokens, the method would not bow out early, while it should have.

Fixed now. Includes some additional tests.

The `Lists::getOpenClose()` method only _handled_ list open tokens, but _accepted_ both open as well as close tokens.
This meant that for list close tokens, the method would not bow out early, while it should have.

Fixed now. Includes some additional tests.
@jrfnl jrfnl added this to the 1.0.0-RC1 milestone Dec 18, 2022
@jrfnl jrfnl merged commit ae30b42 into develop Dec 18, 2022
@jrfnl jrfnl deleted the lists/getopenclose-only-accept-openers branch December 18, 2022 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant