[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:1.9.2.15) Gecko/20110303 Ubuntu/10.10 (maverick) Firefox/3.6.15 |
URL:
<http://savannah.gnu.org/bugs/?32772>
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
_______________________________________________________
Details:
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:
obj=MyObject;
[a,b]=obj.do_something(1);
Thank you, I love octave !
Regards,
Vincent
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sun 13 Mar 2011 11:22:44 PM GMT Name: object.tar Size: 10kB By:
vrabaud
<http://savannah.gnu.org/bugs/download.php?file_id=22919>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?32772>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #32772] subsref only expects one argument out,
Vincent Rabaud <=