lilypond-auto
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Lilypond-auto] Issue 4481 in lilypond: \barNumberCheck has bad error lo


From: lilypond
Subject: [Lilypond-auto] Issue 4481 in lilypond: \barNumberCheck has bad error location
Date: Sat, 04 Jul 2015 14:41:53 +0000

Status: Started
Owner: address@hidden
Labels: Type-Critical Regression

New issue 4481 by address@hidden: \barNumberCheck has bad error location
https://code.google.com/p/lilypond/issues/detail?id=4481

This leads to a nonsensical warning location or, in the case of the bug report in <URL:https://lists.gnu.org/archive/html/bug-lilypond/2015-07/msg00009.html>, to a fatal error. Here is the concise and well-done report:

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 { }
  }
}


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings



reply via email to

[Prev in Thread] Current Thread [Next in Thread]