octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #61842] New "too many inputs" error message wr


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #61842] New "too many inputs" error message wrong with anonymous functions
Date: Mon, 17 Jan 2022 11:56:29 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36 Edg/97.0.1072.55

Follow-up Comment #2, bug #61842 (project octave):

If the assumption from comment #2 is good enough, we could use something like
the attached patch.

With it, I get:

>> toto = @() 1+1;

>> toto (1)

error: @<anonymous>: function called with too many inputs
error: called from
    @<anonymous>
>>



(file #52674)
    _______________________________________________________

Additional Item Attachment:

File name: bug61842-too-many-args-anonymous.patch Size:0 KB
   
<https://file.savannah.gnu.org/file/bug61842-too-many-args-anonymous.patch?file_id=52674>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61842>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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