False positive bar check warning at end of repeat alternative
A bar check fails on this input with simultaneous music. If one of the staves is commented out, the warning goes away.
\version "2.24.0"
music = \fixed c' {
\repeat volta 2 {
c4
\alternative {
{ d2. | }
{ e2. | }
}
}
}
<<
\new Staff \music
\new Staff \music
>>
GNU LilyPond 2.24.1 (running Guile 3.0)
Processing `bad-bar-checks.ly'
Parsing...
Interpreting music...
bad-bar-checks.ly:7:13: warning: barcheck failed at: 1/4
{ d2.
| }
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Converting to `bad-bar-checks.pdf'...
Success: compilation successfully completed