bugGNU Octave - Bugs: bug #56328, Unknown function called as...


bug #56328: Unknown function called as foo(end) gives unclear error

Submitted by:  Nicholas Jankowski <nrjank>
Submitted on:  Wed 15 May 2019 08:07:25 PM UTC  
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Duplicate Assigned to:  None
Originator Name:  Nicholas Jankowski Open/Closed:  Closed
Release:  5.1.0 Operating System:  Any

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Wed 15 May 2019 09:16:47 PM UTC, comment #1: 

This has been known for a long time, and was reported quite a long time ago, see bug #33637. Closing this bug report as a duplicate.

Mike Miller <mtmiller>
Project Administrator
Wed 15 May 2019 08:07:25 PM UTC, original submission:  

As brought up on the help mailing list:

Reported in 4.2.2, confirmed in 5.1.0

For an undefined function or variable foo:

octave:1> foo(end)
error: invalid use of end

It was suggested this should refer to the undefined function or variable, not the call to end.

Matlab’s error:

Nicholas Jankowski <nrjank>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


   bug dependencies.

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by nrjank (Submitted the item)
  • -email is unavailable- added by nrjank

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-05-15 mtmiller Dependencies- => Depends on bugs #33637
    2019-05-15 mtmiller StatusNone => Duplicate
        Open/ClosedOpen => Closed
    2019-05-15 nrjank Carbon-Copy- => Added sergstesh@yahoo.com

    Back to the top

    Powered by Savane 3.5