octave-patch-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-patch-tracker] [patch #8152] classdef: Fix crash when indexing c


From: Carnë Draug
Subject: [Octave-patch-tracker] [patch #8152] classdef: Fix crash when indexing classdef object with empty parentheses.
Date: Sun, 26 Apr 2015 16:21:53 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.6.0

Follow-up Comment #4, patch #8152 (project octave):

I checked in Matlab and indeed, empty indexing should return the object and
not throw an error:


>> a = foo ()

a = 

  foo handle

  Properties:
     child: []
    parent: []


>> b = a()

b = 

  foo handle

  Properties:
     child: []
    parent: []


>> whos
  Name      Size            Bytes  Class    Attributes

  a         1x1               112  foo                
  b         1x1               112  foo                




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?8152>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]