bugGNU Octave - Bugs: bug #50599, misleading error message: invalid...


bug #50599: misleading error message: invalid use of end

Submitted by:  Lars Kindermann <larskindermann>
Submitted on:  Mon 20 Mar 2017 10:34:42 PM UTC  
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Missed Error or Warning
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  dev Operating System:  Any

Add a New Comment (Rich Markup)

You are not logged in

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


Tue 21 Mar 2017 05:05:34 AM UTC, comment #2: 

This is a duplicate of bug #33637.  Closing.

Rik <rik5>
Project Administrator
Mon 20 Mar 2017 11:39:29 PM UTC, comment #1: 

This could be the order in which parsing is done (e.g., the parser thinks that "end" is attempting to end some non-existent conditional).  Will likely need JWE's help.

Dan Sebald <sebald>
Mon 20 Mar 2017 10:34:42 PM UTC, original submission:  

for an undefined variable containing end in the subscripts an irritating error message is shown:

>> xyz(1:2)
error: 'xyz' undefined near line 1 column 1

>> xyz(1:end)
error: invalid use of end

Lars Kindermann <larskindermann>


(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 rik5 (Posted a comment)
  • -email is unavailable- added by sebald (Posted a comment)
  • -email is unavailable- added by larskindermann (Submitted the item)

    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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-03-21 rik5 StatusNone => Duplicate
        Open/ClosedOpen => Closed
        Dependencies- => Depends on bugs #33637

    Back to the top

    Powered by Savane 3.5