>> But the user shouldn't see an assertion error even in case of a wrong
>> argument, right?
>
> Yeah,
> https://gitlab.com/lilypond/lilypond/-/merge_requests/1828
Thanks!
Werner
On 30/01/2023 08:19, Werner LEMBERG wrote:
>
>>> When I attempt to change the "direction" property of a slur,
>>> whether that is with \tweak or \override, I cannot set the
>>> direction to neutral (0). UP (1) and DOWN (-1) work fine, but when
>>> setting to 0, I get the following error:
>>>
>>>
It think the problem here is not that the error happens, but that the error
message is absolutely unusable for a user.
If the error message was somthing like "direction must not be 0" it would be
much clearer for the user.
Still maybe this should be handled before passing this to the drul array
>> When I attempt to change the "direction" property of a slur,
>> whether that is with \tweak or \override, I cannot set the
>> direction to neutral (0). UP (1) and DOWN (-1) work fine, but when
>> setting to 0, I get the following error:
>>
>> "Assertion failed: d, file
>> /home/lily/lilypond-