Is there a better way to do this?

I am trying to end a repeated section with a tie to the first note back at
the beginning of the section. This is written as an unterminated tie. I can
get it to look right with this code, but I get an error message
"programming error: bounds of this piece aren't breakable"

What's the "right" way to achieve this?

\version "2.20.0"
\relative c' {
  c1~
  \repeat volta 2 {
    c2 e2|
    g2 c,2(<>)|
  }
}

Reply via email to