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

[checkoutlinesufo] Fix incorrect logic #1318

Merged
merged 2 commits into from
Mar 1, 2021

Conversation

kaydeearts
Copy link
Collaborator

This should fix #1315
@punchcutter reported that this error didn't appear before 02cb7fd.
Within that merge, we had replaced:
assert not ctr_starts[ci], msg with
elif not ctr_starts[ci]:, when it should've been elif ctr_starts[ci]:.

Copy link
Collaborator

@josh-hadley josh-hadley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good but I think we should add a test case (@punchcutter 's ufo attached to #1315 should work, I think) to help avoid regressions on this.

Copy link
Collaborator

@josh-hadley josh-hadley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@kaydeearts kaydeearts merged commit 9bb341a into develop Mar 1, 2021
@kaydeearts kaydeearts deleted the kd_checkoutlinesufo_bug1315 branch March 1, 2021 21:51
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.

[checkoutlinesufo] duplicated start point check reports useless information
2 participants