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

 
 

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

Submitter:  Lars Kindermann <larskindermann>
Submitted:  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
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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

This is a duplicate of bug #33637.  Closing.

Rik <rik5>
Group 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:
   
   
Comment:
   

No files currently attached

 

Digest:
   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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group 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.13-f8d8.
    Corresponding source code