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:13:56 -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

Update of bug #61842 (project octave):

                  Status:                    None => Confirmed              

    _______________________________________________________

Follow-up Comment #1:

IIUC, that error is emitted here:
http://hg.savannah.gnu.org/hgweb/octave/file/b20da6bed444/libinterp/parse-tree/pt-eval.cc#l3421

I guess `name` is an empty string for anonymous functions.

Is it only an empty string if `user_function` is an anonymous functions? I.e.,
would it be save to replace that by some other string (e.g., "anonymous
function") if `name` is empty?

    _______________________________________________________

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]