Urs Liska <[email protected]> writes:

> Am 7. September 2015 22:48:33 MESZ, schrieb David Kastrup <[email protected]>:
>>Simon Albrecht <[email protected]> writes:
>>
>>> Hello,
>>>
>>> I have a problem with \shapeII (from openlilylib; in the
>>override-like
>>> form) using v2.19.25. The following snippet:
>>> %%%%%%%%%%%%%%%%
>>> \version "2.19.25"
>>> \include "notation-snippets/shaping-bezier-curves/shapeII.ily"
>>>
>>> {
>>>   \shapeII #'((0 . 2)) #'(Slur)
>>>   c''( b)
>>> }
>>> %%%%%%%%%%%%%%%%
>>>
>>> has been working up to v2.19.23, but with .25 I get
>>>
>>> /tmp/frescobaldi-5ZX7nT/tmpQSaLj0/test-shapeII.ly:5:3 <0>: error:
>>> wrong type for argument 3. Expecting music, found (list (quote Slur))
>>>
>>> \shapeII #'((0 . 2)) #'(Slur)
>>>
>>> /tmp/frescobaldi-5ZX7nT/tmpQSaLj0/test-shapeII.ly:5:3 <1>: error:
>>> error in #{ ... #}
>>>
>>> \shapeII #'((0 . 2)) #'(Slur)
>>>
>>>
>>> and the override has no effect.
>>> The problem does not lie with the symbol-list-or-music? predicate in
>>> itself, as I might have suspected (but of course such a defect would
>>> have shown up much earlier), and I don’t know where to search for the
>>> problem.
>>
>>\tweak no longer accepts a symbol/symbol-list as its last argument and
>>needs to get replaced with \propertyTweak when used in that facility.
>>
>
> Simon,
>
> please create an ossue on GitHub with this information.
> Should be updated with a version switch.

Or the calling code just splits between \tweak/\override based on
argument type.  Then you don't need a version switch.

-- 
David Kastrup

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to