|
From: | John W. Eaton |
Subject: | [Octave-bug-tracker] [bug #61842] New "too many inputs" error message wrong with anonymous functions |
Date: | Mon, 17 Jan 2022 23:22:54 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0 |
Follow-up Comment #10, bug #61842 (project octave): Rik, I think it should not be too difficult to modify the stack trace to look something like error: calling error () from anonymous function error: called from @<anonymous function defined at line 2 column 9 of /foo/bar/tst_line_num.m> at line L column C tst_line_num at line 5 column 5 It might be difficult to get the name of the variable (in this case, fanon) that contains the anonymous function. Should the line and column info for the anonymous function be the line and column of the file the anonymous function is defined in or relative to the beginning of the anonymous function itself (location of the @ character)? _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?61842> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |