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

Fix #1685: Harmony parsing errors with doubled characters #1688

Merged
merged 2 commits into from
Mar 3, 2024

Conversation

TimFelixBeyer
Copy link
Contributor

@TimFelixBeyer TimFelixBeyer commented Feb 24, 2024

Fixes #1685.
Corrects parsing error for harmony strings and adds regression test for #1685.

The code intended to only remove the parsed `chordKind` from the string, but in cases where the `chordKind` char occurs multiple times, this would remove all occurrences of the char.
@coveralls
Copy link

Coverage Status

coverage: 93.03%. remained the same
when pulling e11427c on TimFelixBeyer:patch-11
into 0927e39 on cuthbertLab:master.

@TimFelixBeyer TimFelixBeyer changed the title Fix #1685 Harmony parsing errors with doubled characters Fix #1685: Harmony parsing errors with doubled characters Feb 27, 2024
Copy link
Member

@jacobtylerwalls jacobtylerwalls left a comment

Choose a reason for hiding this comment

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

Thanks!

@jacobtylerwalls jacobtylerwalls merged commit f2f7bad into cuthbertLab:master Mar 3, 2024
7 checks passed
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.

Chord symbol "Co omit5" does not parse
3 participants