bug-lilypond
[Top][All Lists]
Advanced

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

Re: Music function in LY file triggers error message


From: Jean Abou Samra
Subject: Re: Music function in LY file triggers error message
Date: Sat, 13 Feb 2021 15:50:21 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0


Le 13/02/2021 à 13:29, Johannes Feulner a écrit :
HI there,

updating from LilyPond version 2.19.53 to 2.23.1 I found unexpected non-fatal error messages in LilyPonds output whenever a music function is defined:

Analysieren...
Programmierfehler: Parsed object should be dead #<Prob: Music C++: Music((void . #t))((name . Music) (types)) >

This happens even if a defined music function is never called.

Minimal example:

   \version "2.23.1"
   myFunc =
   #(define-music-function (parser location m)
      (ly:music?)
      m)

By the way: Are parser and location though no necessary anymore deprecated/still allowed/make sense/bad style?

Cheers,

Johannes


Hello,

A fix is in progress at https://gitlab.com/lilypond/lilypond/-/merge_requests/622

Best,
Jean




reply via email to

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