bug-lilypond
[Top][All Lists]
Advanced

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

Re: [ISSUE] Correct argument handling of Unpure_pure_call::call


From: Simon Albrecht
Subject: Re: [ISSUE] Correct argument handling of Unpure_pure_call::call
Date: Thu, 24 Sep 2015 00:26:12 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0

Here you are: <https://sourceforge.net/p/testlilyissues/issues/4618/>
Good night, Simon

On 24.09.2015 00:15, David Kastrup wrote:
Type: Defect
Status: Started
Owner: address@hidden
Summary:
Correct argument handling of Unpure_pure_call::call

When ly:make-unpure-pure-container is called with a single procedure
argument, this procedure is used for both unpure and pure calls.  It
turns out that the calling convention in call_pure_function places the
start/end arguments always in position 2/3 of the call.
Unpure_pure_call::call previously always dropped the last 2 arguments of
a pure call before passing the rest on.  Most calls take exactly 3
arguments (grob start end) where this does not make a difference, but
there may be use cases with a different number of arguments.

Rietveld issue: 262500043 (https://codereview.appspot.com/262500043)





reply via email to

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