Comment #2 on issue 1698 by [email protected]: Slurs and ties are not correct over repeats
http://code.google.com/p/lilypond/issues/detail?id=1698
As a workaround you can use \laissezVibre to produce a visually correct result.
\alternative {
{ e1 \laissezVibre | }
{ e1 }
}
