If a user passes a wrong bar number to \barNumberCheck, LilyPond 2.19.22 produces a Scheme error:
>lilypond tiny-example.ly GNU LilyPond 2.19.22 Processing `tiny-example.ly' Parsing... Interpreting music...C:/progra/lilypond/current/usr/share/lilypond/current/ly/music-functions-init.ly:220:24: In procedure ly:input-warning in expression (ly:input-warning (*location*) "Barcheck failed got ~a expect ~a" ...): C:/progra/lilypond/current/usr/share/lilypond/current/ly/music-functions-init.ly:220:24: Wrong type argument in position 1 (expecting Input): #f Tiny-example.ly contains the following code: \version "2.19.18" % Please ignore this version number! notes = { c'2 d' \barNumberCheck #3 } \book { \bookOutputName "barNumberCheck-tiny-example-test" \score { \notes \layout { } } } I'm using Windows XP. -- View this message in context: http://lilypond.1069038.n5.nabble.com/barNumberCheck-broken-in-LilyPond-2-19-22-tp178423.html Sent from the Bugs mailing list archive at Nabble.com. _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond