bug-lilypond
[Top][All Lists]
Advanced

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

Music function in LY file triggers error message


From: Johannes Feulner
Subject: Music function in LY file triggers error message
Date: Sat, 13 Feb 2021 13:29:01 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

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

--
Johannes Feulner
Tel: +49 721 33500158  johannes.feulner@scorio.com

scorio GmbH  Bonhoefferweg 3   76327 Pfinztal
Geschäftsführer Johannes Feulner
Sitz der Gesellschaft Karlsruhe
Amtsgericht Mannheim HRB 713486



reply via email to

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