bugGNU Octave - Bugs: bug #51641, Indexing classdef properties with...

 
 

bug #51641: Indexing classdef properties with end fails

Submitted by:  Piotr Held <jsoh425>
Submitted on:  Wed 02 Aug 2017 12:05:16 AM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Piotr HeldOpen/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 07 Aug 2017 03:38:50 PM UTC, comment #5:

Verified that behavior is correct with 23837:551e4d1dd28f. Marking as fixed and closing report.

Rik <rik5>
Project Administrator
Fri 04 Aug 2017 08:28:30 PM UTC, comment #4:

Anyway it does currently work (now as of cset: 01899bdd2a3a). So this bug report should be closed.

Piotr Held <jsoh425>
Wed 02 Aug 2017 08:45:46 PM UTC, comment #3:

The title of 51641 is certainly more to the point than of 50923

A.R. Burgers <arb>
Wed 02 Aug 2017 05:29:02 PM UTC, comment #2:

Yes I agree. I didn't notice it earlier. I guess this Bug Report can be closed.

Piotr Held <jsoh425>
Wed 02 Aug 2017 05:25:31 PM UTC, comment #1:

Looks similar to http://savannah.gnu.org/bugs/?50923

A.R. Burgers <arb>
Wed 02 Aug 2017 12:05:16 AM UTC, original submission:

Indexing a class property fails when using the magic 'end'. Consider the following code:

When calling 'a.prop1 (2:end)' the result is: '[](1x0)'
When calling 'a.prop2 (1:end)' the result is: '5'

I know this is similar to Bug #50626 but I don't think it is exactly the same. As far as I understand, in that case someone was trying to index the class, here the problem is indexing a class property.

Piotr Held <jsoh425>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by arb (Posted a comment)
  • -unavailable- added by jsoh425 (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 07 Aug 2017 03:38:50 PM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1