[Top][All Lists]

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

[Octave-bug-tracker] [bug #32772] subsref only expects one argument out

From: Vincent Rabaud
Subject: [Octave-bug-tracker] [bug #32772] subsref only expects one argument out
Date: Sun, 13 Mar 2011 23:22:45 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110303 Ubuntu/10.10 (maverick) Firefox/3.6.15


                 Summary: subsref only expects one argument out
                 Project: GNU Octave
            Submitted by: vrabaud
            Submitted on: Sun 13 Mar 2011 11:22:44 PM GMT
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Crash
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.4.0
        Operating System: GNU/Linux



When creating an object (cf tar file) in a @ folder, if subsref is overloaded,
nargout is always 1 while it not necessarily is.

subsref is not only used to access data members but also to call member
functions which can return more than one argument (as detailed on
http://www.mathworks.com/help/techdoc/matlab_oop/brdqinq.html in the "Dot
Notation vs. Function Notation" section).

The given tar file contains a bogus object that should not crash when called
this way:

Thank you, I love octave !



File Attachments:

Date: Sun 13 Mar 2011 11:22:44 PM GMT  Name: object.tar  Size: 10kB   By:



Reply to this item at:


  Message sent via/by Savannah

reply via email to

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