bugGNU Octave - Bugs: bug #36003, misleading error for assignment to...

 
 

bug #36003: misleading error for assignment to empty structure

Submitted by:  Ben Abbott <bpabbott>
Submitted on:  Mon Mar 26 00:12:00 2012  
 
Category: InterpreterSeverity: 2 - Minor
Priority: 3 - LowItem Group: Feature Request
Status: ConfirmedAssigned to: None
Originator Name: Ben AbbottOpen/Closed: Open
Release: devOperating System: Any

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Sat Nov 19 21:10:46 2016, comment #3:

This is still the same in Octave 4.2.0.

Hartmut <hardy>
Fri Feb 26 04:55:33 2016, comment #2:

Mike's post seemed to be truncated. The full Matlab error is

(In case the verbatim environment caused the problem, it is: "A dot name structure assignment is illegal when the structure is empty. Use a subscript on the structure.")

Lachlan Andrew <lachlan>
Project Member
Sat May 16 19:05:54 2015, comment #1:

Confirmed, here is the Matlab error message for reference in case someone wants to add something similar:

Mike Miller <mtmiller>
Project Administrator
Mon Mar 26 00:12:00 2012, original submission:

This seems to come up a lot on mail-list.

When a subscript is included on the structure, there is no error.

Can something be done to give a more descriptive error message?

Ben Abbott <bpabbott>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by hardy (Posted a comment)
  • -unavailable- added by lachlan (Posted a comment)
  • -unavailable- added by mtmiller (Updated the item)
  • -unavailable- added by bpabbott (Submitted the item)
  •  

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat May 16 19:05:54 2015mtmillerPriority5 - Normal=>3 - Low
      StatusDuplicate=>Confirmed
    Tue Jan 28 04:35:59 2014mtmillerStatusNone=>Duplicate
      Dependencies-=>Depends on bugs #34967
    Mon Mar 26 00:14:52 2012bpabbottSummarymisleading error message=>misleading error for assignment to empty structure

    Back to the top


    Powered by Savane 3.1-cleanup