Hi everyone,

I'm running into a programming error in LilyPond 2.24.4 (it happens in
2.25.30 also).  When I run the code below I get a cyclic dependency
programming error.  It seems to depend on having both a trill span and a
staff change.  It may be related to issue 6598 (
https://gitlab.com/lilypond/lilypond/-/issues/6598).  Is there any way
around this?  Is there something I can be doing differently?  I can't seem
to suppress the warning with ly:expect-warning I assume because it's a
programming error, not an actual warning.

%%% Start
\version "2.24.4"

global = {
  \time 3/4
  \key c \minor
}

rightHand = \relative {
  \global
  g'2.\startTrillSpan |
  c4(\stopTrillSpan  g16 d b r  s8 \change Staff = "lower"
    \voiceOne \hideNotes g,) |
}

leftHand = \relative {
  \global
  \clef bass
  g2. |
  g,4 r8 r16 g'  d b g8-. |
}

\score {
  \new PianoStaff <<
    \new Staff = "upper" \rightHand
    \new Staff = "lower" \leftHand
  >>
}
%%% End


--
Knute Snortum

Reply via email to